mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 17:16:59 +02:00
fix: gofmt
This commit is contained in:
parent
e542a62033
commit
37a801098c
@ -66,16 +66,16 @@ func NewScalewayProvider(ctx context.Context, domainFilter endpoint.DomainFilter
|
||||
}
|
||||
}
|
||||
|
||||
p := &scw.Profile{}
|
||||
c, err := scw.LoadConfig()
|
||||
if err != nil {
|
||||
log.Warnf("Cannot load config: %v", err)
|
||||
} else {
|
||||
p, err = c.GetActiveProfile()
|
||||
if err != nil {
|
||||
log.Warnf("Cannot get active profile: %v", err)
|
||||
}
|
||||
}
|
||||
p := &scw.Profile{}
|
||||
c, err := scw.LoadConfig()
|
||||
if err != nil {
|
||||
log.Warnf("Cannot load config: %v", err)
|
||||
} else {
|
||||
p, err = c.GetActiveProfile()
|
||||
if err != nil {
|
||||
log.Warnf("Cannot get active profile: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
scwClient, err := scw.NewClient(
|
||||
scw.WithProfile(p),
|
||||
|
Loading…
Reference in New Issue
Block a user