pull/1007/head
fibonacci1729 9 years ago
parent a05b48f320
commit 967e438bfd

@ -91,6 +91,8 @@ func (s *Storage) ListFilterAny(filters ...FilterFunc) ([]*rspb.Release, error)
}
func Init(d driver.Driver) *Storage {
if d == nil { d = driver.NewMemory() }
if d == nil {
d = driver.NewMemory()
}
return &Storage{Driver: d}
}

@ -147,7 +147,6 @@ func assertErrNil(eh func(args ...interface{}), err error, message string) {
}
}
/*
func releaseData() *rspb.Release {
var manifest = `apiVersion: v1

Loading…
Cancel
Save