Skip to content

Commit

Permalink
Convert Fatal -> Print, scrub some output
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-boaz-trimble committed Jul 3, 2024
1 parent 36028b7 commit b990c88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions atrium/vestibulum/trcdb/trccertmgmtbase/trccertmgmtbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ func CommonMain(certPathPtr *string, driverConfig *eUtils.DriverConfig, mod *kv.
apimConfigMap["azureClientSecret"],
nil)
if err != nil {
driverConfig.CoreConfig.Log.Fatalf("failed to obtain a credential: %v", err)
driverConfig.CoreConfig.Log.Printf("failed to obtain a credential: %v", err)
return err
}

ctx, _ := context.WithCancel(context.Background())
clientFactory, err := armapimanagement.NewClientFactory(apimConfigMap["SUBSCRIPTION_ID"], svc, nil)
if err != nil {
driverConfig.CoreConfig.Log.Fatalf("failed to create client: %v", err)
driverConfig.CoreConfig.Log.Printf("failed to create client: %v", err)
return err
}

Expand Down
1 change: 0 additions & 1 deletion atrium/vestibulum/trcdb/trcplgtoolbase/trcplgtoolbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ func CommonMain(envDefaultPtr *string,
if len(*certPathPtr) > 0 {
updateCertError := trccertmgmtbase.CommonMain(certPathPtr, config, mod)
if updateCertError != nil {
fmt.Println(updateCertError.Error())
fmt.Println("Couldn't update Cert...proceeding with build")
}
return nil
Expand Down

0 comments on commit b990c88

Please sign in to comment.