Skip to content

Commit 72f3eab

Browse files
committed
[content-service] add omitempty to BucketName for minio config
1 parent 3d8de92 commit 72f3eab

File tree

1 file changed

+3
-2
lines changed
  • components/content-service-api/go/config

1 file changed

+3
-2
lines changed

components/content-service-api/go/config/config.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
package config
66

77
import (
8-
"github.com/gitpod-io/gitpod/common-go/baseserver"
98
"os"
9+
10+
"github.com/gitpod-io/gitpod/common-go/baseserver"
1011
)
1112

1213
// StorageConfig configures the remote storage we use
@@ -106,7 +107,7 @@ type MinIOConfig struct {
106107
Region string `json:"region"`
107108
ParallelUpload uint `json:"parallelUpload,omitempty"`
108109

109-
BucketName string `json:"bucket"`
110+
BucketName string `json:"bucket,omitempty"`
110111
}
111112

112113
type PProf struct {

0 commit comments

Comments
 (0)