Skip to content

Commit

Permalink
Update controllers/appwrapper_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Antonin Stefanutti <[email protected]>
  • Loading branch information
Fiona-Waters and astefanutti authored Jun 21, 2023
1 parent 12f90d2 commit e48b21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/appwrapper_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (r *AppWrapperReconciler) SetupWithManager(mgr ctrl.Manager) error {
if !useMachineSets {
instascaleOCMSecret, err := kubeClient.CoreV1().Secrets(r.ConfigsNamespace).Get(context.Background(), "instascale-ocm-secret", metav1.GetOptions{})
if err != nil {
klog.Errorf("Error getting instascale-ocm-secret from namespace %v - Error : %v", r.ConfigsNamespace, err)
klog.Errorf("Error getting instascale-ocm-secret from namespace %v: %v", r.ConfigsNamespace, err)
}
ocmToken = string(instascaleOCMSecret.Data["token"])
}
Expand Down

0 comments on commit e48b21f

Please sign in to comment.