https://mattermost.atlassian.net/browse/MM-60211
```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Agniva De Sarker
2025-02-06 21:48:08 +05:30
коммит произвёл GitHub
родитель d34dcc2dda
Коммит c4718e4542
7 изменённых файлов: 411 добавлений и 340 удалений

Просмотреть файл

@@ -40,6 +40,12 @@ type customProvider struct {
isSignV2 bool
}
// RetrieveWithCredContext simply calls Retrieve, because we don't need to use
// the param.
func (cp customProvider) RetrieveWithCredContext(_ *credentials.CredContext) (credentials.Value, error) {
return cp.Retrieve()
}
// Retrieve just returns empty credentials.
func (cp customProvider) Retrieve() (credentials.Value, error) {
sign := credentials.SignatureV4