mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-21 23:18:06 +00:00
Pass logger to print what what type of client is used Connect or Service Account
This commit is contained in:
@@ -152,7 +152,10 @@ func main() {
|
||||
}
|
||||
|
||||
// Setup One Password Client
|
||||
opClient, err := opclient.NewFromEnvironment(version.OperatorVersion)
|
||||
opClient, err := opclient.NewFromEnvironment(opclient.Config{
|
||||
Logger: setupLog,
|
||||
Version: version.OperatorVersion,
|
||||
})
|
||||
if err != nil {
|
||||
setupLog.Error(err, "unable to create 1Password client")
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user