diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-23 03:30:41 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-23 03:30:41 -0700 |
| commit | 00c4e06caad6f5960c3acfdd07106e2d8e3577c5 (patch) | |
| tree | becbacd957426354f9d7b80f750f19f08c37d355 /weed/shell/command_remote_configure.go | |
| parent | f0cc130849461fa17595eeb926a48845e34a1616 (diff) | |
| download | seaweedfs-00c4e06caad6f5960c3acfdd07106e2d8e3577c5.tar.xz seaweedfs-00c4e06caad6f5960c3acfdd07106e2d8e3577c5.zip | |
cloud drive: s3 configurable force path style
Diffstat (limited to 'weed/shell/command_remote_configure.go')
| -rw-r--r-- | weed/shell/command_remote_configure.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.go index c5ca0a7db..ed8b2395d 100644 --- a/weed/shell/command_remote_configure.go +++ b/weed/shell/command_remote_configure.go @@ -60,6 +60,7 @@ func (c *commandRemoteConfigure) Do(args []string, commandEnv *CommandEnv, write remoteConfigureCommand.StringVar(&conf.S3Region, "s3.region", "us-east-2", "s3 region") remoteConfigureCommand.StringVar(&conf.S3Endpoint, "s3.endpoint", "", "endpoint for s3-compatible local object store") remoteConfigureCommand.StringVar(&conf.S3StorageClass, "s3.storage_class", "", "s3 storage class") + remoteConfigureCommand.BoolVar(&conf.S3ForcePathStyle, "s3.force_path_style", true, "s3 force path style") remoteConfigureCommand.StringVar(&conf.GcsGoogleApplicationCredentials, "gcs.appCredentialsFile", "", "google cloud storage credentials file, or leave it empty to use env GOOGLE_APPLICATION_CREDENTIALS") |
