From da9e11f28bab3c90107c3a730ddbfb57d18475ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B3=BD=E6=B7=BC=20=E5=91=A8?= Date: Sat, 27 Sep 2025 18:28:34 +0800 Subject: Optimization: Reduce unnecessary logic of seaweedfs-mount --- pkg/mountmanager/client.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pkg/mountmanager/client.go') 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 { -- cgit v1.2.3