|
|
@ -17,12 +17,12 @@ package storage // import "k8s.io/helm/pkg/storage"
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"fmt"
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"reflect"
|
|
|
|
"reflect"
|
|
|
|
"testing"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
|
|
"k8s.io/helm/pkg/storage/driver"
|
|
|
|
|
|
|
|
rspb "k8s.io/helm/pkg/proto/hapi/release"
|
|
|
|
rspb "k8s.io/helm/pkg/proto/hapi/release"
|
|
|
|
|
|
|
|
"k8s.io/helm/pkg/storage/driver"
|
|
|
|
|
|
|
|
|
|
|
|
tspb "github.com/golang/protobuf/ptypes"
|
|
|
|
tspb "github.com/golang/protobuf/ptypes"
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -125,8 +125,8 @@ func TestUpdateRelease(t *testing.T) {
|
|
|
|
rls := releaseData()
|
|
|
|
rls := releaseData()
|
|
|
|
ckerr(storage.StoreRelease(rls), "StoreRelease")
|
|
|
|
ckerr(storage.StoreRelease(rls), "StoreRelease")
|
|
|
|
|
|
|
|
|
|
|
|
rls.Name = "hungry-hippo"
|
|
|
|
rls.Name = "hungry-hippo"
|
|
|
|
rls.Version = 2
|
|
|
|
rls.Version = 2
|
|
|
|
rls.Manifest = "old-manifest"
|
|
|
|
rls.Manifest = "old-manifest"
|
|
|
|
|
|
|
|
|
|
|
|
err := storage.UpdateRelease(rls)
|
|
|
|
err := storage.UpdateRelease(rls)
|
|
|
|