aboutsummaryrefslogtreecommitdiff
path: root/pkg/mountmanager/client.go
diff options
context:
space:
mode:
author泽淼 周 <zhouzemiao@ihuman.com>2025-09-27 18:28:34 +0800
committerchrislusf <chris.lu@gmail.com>2025-12-05 17:52:26 -0800
commit504e64b8ab3fcdc58092473479d459b52316e5ca (patch)
tree10b98b83c5b551bf7cccf71edb4b41c6fb40228d /pkg/mountmanager/client.go
parentaadd9a9ec4649027b2d926fbb60768938c0ee263 (diff)
downloadseaweedfs-csi-driver-504e64b8ab3fcdc58092473479d459b52316e5ca.tar.xz
seaweedfs-csi-driver-504e64b8ab3fcdc58092473479d459b52316e5ca.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 {