mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 09:36:58 +02:00
fixed linting error - no punc in errors
This commit is contained in:
parent
c5ddb1e1a9
commit
07cfb7fdfb
2
main.go
2
main.go
@ -276,7 +276,7 @@ func main() {
|
||||
// OCI config file, and provide a config that uses instance principal authentication.
|
||||
if cfg.OCIAuthInstancePrincipal {
|
||||
if len(cfg.OCICompartmentOCID) == 0 {
|
||||
err = fmt.Errorf("OCI IAM instance principal authentication requested, but no compartment OCID provided!")
|
||||
err = fmt.Errorf("instance principal authentication requested, but no compartment OCID provided")
|
||||
} else {
|
||||
authConfig := oci.OCIAuthConfig{UseInstancePrincipal: true}
|
||||
config = &oci.OCIConfig{Auth: authConfig, CompartmentID: cfg.OCICompartmentOCID}
|
||||
|
Loading…
Reference in New Issue
Block a user