Skip to content

Commit

Permalink
Merge pull request #213 from lpiwowar/bugfix/ansibletest-getlogger
Browse files Browse the repository at this point in the history
Fix getlogger for ansibletest
  • Loading branch information
openshift-merge-bot[bot] authored Oct 3, 2024
2 parents 58c7856 + 5502603 commit 44530f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/ansibletest_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type AnsibleTestReconciler struct {

// GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields
func (r *AnsibleTestReconciler) GetLogger(ctx context.Context) logr.Logger {
return log.FromContext(ctx).WithName("Controllers").WithName("Tobiko")
return log.FromContext(ctx).WithName("Controllers").WithName("AnsibleTest")
}

// +kubebuilder:rbac:groups=test.openstack.org,resources=ansibletests,verbs=get;list;watch;create;update;patch;delete
Expand Down

0 comments on commit 44530f9

Please sign in to comment.