Update vendor csi spec and csi-test to 1.0.0-rc2

This commit is contained in:
Michelle Au
2018-11-14 13:27:37 -08:00
parent 92f87c14e7
commit 9be7a7dd24
42 changed files with 2674 additions and 1964 deletions

View File

@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
"github.com/container-storage-interface/spec/lib/go/csi/v0"
"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/golang/mock/gomock"
"github.com/golang/protobuf/proto"
mock_driver "github.com/kubernetes-csi/csi-test/driver"
@@ -157,7 +157,7 @@ func TestGRPCAttach(t *testing.T) {
// Setup mock outout
out := &csi.ControllerPublishVolumeResponse{
PublishInfo: publishVolumeInfo,
PublishContext: publishVolumeInfo,
}
// Setup expectation
@@ -181,7 +181,7 @@ func TestGRPCAttach(t *testing.T) {
t.Errorf("Error: %s", err.Error())
}
info := r.GetPublishInfo()
info := r.GetPublishContext()
if !reflect.DeepEqual(info, publishVolumeInfo) {
t.Errorf("Invalid publish info: %v", info)
}