Skip to content

Commit

Permalink
chore: clean up x509 minio error msg.
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
  • Loading branch information
HumairAK committed Feb 20, 2024
1 parent 574cd85 commit 8b6ed3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ var ConnectAndQueryObjStore = func(ctx context.Context, log logr.Logger, endpoin
}

if util.IsX509UnknownAuthorityError(err) {
log.Error(err, "Encountered x509 UnknownAuthorityError when connecting to ObjectStore. "+
log.Info(fmt.Sprintf("Encountered x509 UnknownAuthorityError when connecting to ObjectStore. "+
"If using an tls S3 connection with self-signed certs, you may specify a custom CABundle "+
"to mount on the DSP API Server via the DSPA cr under the spec.cABundle field. If you have already "+
"provided a CABundle, verify the validity of the provided CABundle.")
"provided a CABundle, verify the validity of the provided CABundle. Error: %v", err))
return false
}

Expand Down

0 comments on commit 8b6ed3f

Please sign in to comment.