aboutsummaryrefslogtreecommitdiff
path: root/pkg/mountmanager/client.go
diff options
context:
space:
mode:
author泽淼 周 <zhouzemiao@ihuman.com>2025-09-27 18:28:34 +0800
committerChris Lu <chrislusf@users.noreply.github.com>2025-12-06 18:53:22 -0800
commitda9e11f28bab3c90107c3a730ddbfb57d18475ca (patch)
tree10b98b83c5b551bf7cccf71edb4b41c6fb40228d /pkg/mountmanager/client.go
parent1a36b03ed79a12e9b9db5954167ce825222f3d83 (diff)
downloadseaweedfs-csi-driver-da9e11f28bab3c90107c3a730ddbfb57d18475ca.tar.xz
seaweedfs-csi-driver-da9e11f28bab3c90107c3a730ddbfb57d18475ca.zip
Optimization: Reduce unnecessary logic of seaweedfs-mount
Diffstat (limited to 'pkg/mountmanager/client.go')
-rw-r--r--pkg/mountmanager/client.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/mountmanager/client.go b/pkg/mountmanager/client.go
index 8a53d00..6288c44 100644
--- a/pkg/mountmanager/client.go
+++ b/pkg/mountmanager/client.go
@@ -62,15 +62,6 @@ func (c *Client) Unmount(req *UnmountRequest) (*UnmountResponse, error) {
return &resp, nil
}
-// Configure updates runtime options such as quota for an existing mount.
-func (c *Client) Configure(req *ConfigureRequest) (*ConfigureResponse, error) {
- var resp ConfigureResponse
- if err := c.doPost("/configure", req, &resp); err != nil {
- return nil, err
- }
- return &resp, nil
-}
-
func (c *Client) doPost(path string, payload any, out any) error {
body := &bytes.Buffer{}
if err := json.NewEncoder(body).Encode(payload); err != nil {