aboutsummaryrefslogtreecommitdiff
path: root/login.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 09:17:09 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 09:17:09 +0200
commita7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906 (patch)
tree4142845ef1c8d9c7c54ffb3484c6814ed0157ea0 /login.go
parent9cd06c95eba491bce1a60f7d1b2fef320aec1124 (diff)
downloadguichet-a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906.tar.gz
guichet-a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906.zip
bump garage SDK
Diffstat (limited to 'login.go')
-rw-r--r--login.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/login.go b/login.go
index 277e3ae..4bbcd65 100644
--- a/login.go
+++ b/login.go
@@ -221,7 +221,7 @@ func (lu *LoggedUser) S3KeyInfo() (*garage.KeyInfo, error) {
// @FIXME compatibility feature for bagage (SFTP+webdav)
// you can remove it once bagage will be updated to fetch the key from garage directly
// or when bottin will be able to dynamically fetch it.
- modify_request.Replace("garage_s3_secret_key", []string{*keyPair.SecretAccessKey})
+ modify_request.Replace("garage_s3_secret_key", []string{*keyPair.SecretAccessKey.Get()})
err = lu.Login.conn.Modify(modify_request)
if err != nil {
return nil, err