|
|
|
@ -98,10 +98,10 @@ func TestStorageList(t *testing.T) {
|
|
|
|
|
assertErrNil(t.Fatal, storage.Create(rls6), "Storing release 'rls6'")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var listTests = []struct{
|
|
|
|
|
var listTests = []struct {
|
|
|
|
|
Description string
|
|
|
|
|
NumExpected int
|
|
|
|
|
ListFunc func() ([]*rspb.Release,error)
|
|
|
|
|
ListFunc func() ([]*rspb.Release, error)
|
|
|
|
|
}{
|
|
|
|
|
{"ListDeleted", 2, storage.ListDeleted},
|
|
|
|
|
{"ListDeployed", 2, storage.ListDeployed},
|
|
|
|
@ -147,7 +147,6 @@ func assertErrNil(eh func(args ...interface{}), err error, message string) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
func releaseData() *rspb.Release {
|
|
|
|
|
var manifest = `apiVersion: v1
|
|
|
|
|