The others need to be addressed, too. I just wanted to stop adding to the problem.

On Apr 23, 2014, at 10:15 AM, Jonathan Boulle <notifications@github.com> wrote:

> In registry/unit.go:
> 
> > +	etcdErr "github.com/coreos/fleet/third_party/github.com/coreos/etcd/error"
> > +	"github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd"
> > +	log "github.com/coreos/fleet/third_party/github.com/golang/glog"
> > +
> > +	"github.com/coreos/fleet/unit"
> > +)
> > +
> > +const (
> > +	unitPrefix = "/unit/"
> > +	// Legacy versions of fleet stored payloads instead of units
> > +	payloadPrefix = "/payload/"
> > +)
> > +
> > +func (r *Registry) storeOrGetUnit(u unit.Unit) (err error) {
> > +	key := hashedUnitPath(u.Hash())
> > +	json, _ := marshal(u)
> Done. Out of interest, any reason why you picked up this one and not all the others?
> git grep ', _ := marshal('
> 
> —
> Reply to this email directly or view it on GitHub.
>