feat: add suggestion

This commit is contained in:
Ludovic Ortega 2023-11-16 23:10:15 +01:00
parent fc2f5ac414
commit d6ce656258
No known key found for this signature in database
GPG Key ID: 87471466EB186A4C

View File

@ -68,7 +68,9 @@ func NewScalewayProvider(ctx context.Context, domainFilter endpoint.DomainFilter
p := &scw.Profile{}
c, err := scw.LoadConfig()
if err == nil {
if err != nil {
log.Infof("%s", err)
} else {
p, _ = c.GetActiveProfile()
}