diff options
| author | chrislu <chris.lu@gmail.com> | 2022-04-03 01:07:08 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-04-03 01:07:08 -0700 |
| commit | e1dcd15f015e5dadd123982b8f6d51f1f3b99c26 (patch) | |
| tree | f11fd71129d6179c3eea81b3079eb5c09e0f47f1 /pkg/driver/identityserver.go | |
| parent | 498a0af0ee54b2c06dd0710cf6fd84722ea75912 (diff) | |
| download | seaweedfs-csi-driver-e1dcd15f015e5dadd123982b8f6d51f1f3b99c26.tar.xz seaweedfs-csi-driver-e1dcd15f015e5dadd123982b8f6d51f1f3b99c26.zip | |
support expand volume
Diffstat (limited to 'pkg/driver/identityserver.go')
| -rw-r--r-- | pkg/driver/identityserver.go | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pkg/driver/identityserver.go b/pkg/driver/identityserver.go index 7d0fab7..55ce934 100644 --- a/pkg/driver/identityserver.go +++ b/pkg/driver/identityserver.go @@ -1,8 +1,8 @@ package driver import ( - "github.com/container-storage-interface/spec/lib/go/csi" "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/container-storage-interface/spec/lib/go/csi" "golang.org/x/net/context" ) @@ -35,15 +35,13 @@ func (ids *IdentityServer) GetPluginCapabilities(ctx context.Context, req *csi.G }, }, }, - /* // TODO add later - { - Type: &csi.PluginCapability_VolumeExpansion_{ - VolumeExpansion: &csi.PluginCapability_VolumeExpansion{ - Type: csi.PluginCapability_VolumeExpansion_ONLINE, - }, + { + Type: &csi.PluginCapability_VolumeExpansion_{ + VolumeExpansion: &csi.PluginCapability_VolumeExpansion{ + Type: csi.PluginCapability_VolumeExpansion_ONLINE, }, }, - */ + }, }, }, nil } |
