diff options
| author | duanhongyi <duanhongyi@doopai.com> | 2024-01-11 14:36:05 +0800 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2024-01-11 07:48:44 -0800 |
| commit | 785e69a08ef47eab94742b040870ec0716f20f13 (patch) | |
| tree | c94ea66e80a85b7ea36321f590e7549f5d4a54cf /pkg/driver/volume.go | |
| parent | 9278f2d0ba560b375236c845b9f13124ce281195 (diff) | |
| download | seaweedfs-csi-driver-785e69a08ef47eab94742b040870ec0716f20f13.tar.xz seaweedfs-csi-driver-785e69a08ef47eab94742b040870ec0716f20f13.zip | |
Fix: capacity error in re mounting after expand volume
Diffstat (limited to 'pkg/driver/volume.go')
| -rw-r--r-- | pkg/driver/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/driver/volume.go b/pkg/driver/volume.go index a6d7ddb..ac0a80a 100644 --- a/pkg/driver/volume.go +++ b/pkg/driver/volume.go @@ -80,7 +80,7 @@ func (vol *Volume) Publish(stagingTargetPath string, targetPath string, readOnly return nil } -func (vol *Volume) Expand(sizeByte int64) error { +func (vol *Volume) Quota(sizeByte int64) error { target := fmt.Sprintf("passthrough:///unix://%s", vol.localSocket) dialOption := grpc.WithTransportCredentials(insecure.NewCredentials()) |
