mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-16 13:18:12 -07:00
(minor) fix lint warnings
This commit is contained in:
@@ -91,8 +91,10 @@ func build(conf conf.MapConfig, st storage.DataStorage) (container.Container, er
|
||||
}
|
||||
|
||||
if len(c.KeyID) > 0 || len(c.KeySecret) > 0 || len(c.SessionToken) > 0 {
|
||||
modifiers = append(modifiers, config.WithCredentialsProvider(
|
||||
credentials.NewStaticCredentialsProvider(c.KeyID, c.KeySecret, c.SessionToken)),
|
||||
modifiers = append(
|
||||
modifiers, config.WithCredentialsProvider(
|
||||
credentials.NewStaticCredentialsProvider(c.KeyID, c.KeySecret, c.SessionToken),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user