diff --git a/storage/storage.go b/storage/storage.go index 6910f4c..c6a3bee 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -90,7 +90,7 @@ func (s *StorageServiceImpl) createBucketIfNotExists(bucket string) error { } else { resp, err := s.httpApi.R(). SetBody(map[string]string{ - "bucket": bucket, + "name": bucket, }). Post("/api/bus/buckets") if err != nil {