We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e444a commit 92302a6Copy full SHA for 92302a6
pkg/cmd/config/set.go
@@ -86,7 +86,7 @@ func setContext(req *setContextRequest) {
86
}
87
switch req.Provider {
88
case s3.Kind, "aws":
89
- nc.Config = stow.ConfigMap{}
+ nc.Provider = s3.Kind
90
if req.s3ConfigAccessKeyID != "" {
91
nc.Config[s3.ConfigAccessKeyID] = req.s3ConfigAccessKeyID
92
@@ -100,6 +100,7 @@ func setContext(req *setContextRequest) {
100
nc.Config[s3.ConfigSecretKey] = req.s3ConfigSecretKey
101
102
case gcs.Kind, "gs":
103
+ nc.Provider = gcs.Kind
104
if req.gcsConfigJSONKeyPath != "" {
105
jsonKey, err := ioutil.ReadFile(req.gcsConfigJSONKeyPath)
106
term.ExitOnError(err)
0 commit comments