aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-07-20 11:27:11 -0700
committerchrislu <chris.lu@gmail.com>2024-07-20 11:27:11 -0700
commitaed2a18223950a2bf83fba11f0ef27e3f96ad045 (patch)
tree858f3a0e90066bc48df8c4a8cdce4d3606f810fa /weed/shell
parent96af5712195be37b309115795066f17c7cc6126d (diff)
downloadseaweedfs-aed2a18223950a2bf83fba11f0ef27e3f96ad045.tar.xz
seaweedfs-aed2a18223950a2bf83fba11f0ef27e3f96ad045.zip
get, set and add path conf
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/command_s3_bucket_quota_check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_bucket_quota_check.go b/weed/shell/command_s3_bucket_quota_check.go
index bc0d838f7..b130e4fad 100644
--- a/weed/shell/command_s3_bucket_quota_check.go
+++ b/weed/shell/command_s3_bucket_quota_check.go
@@ -130,7 +130,7 @@ func (c *commandS3BucketQuotaEnforce) processEachBucket(fc *filer.FilerConf, fil
} else {
fmt.Fprintf(writer, " changing bucket %s to writable.\n", entry.Name)
}
- fc.AddLocationConf(locConf)
+ fc.SetLocationConf(locConf)
}
return