Skip to content

Commit

Permalink
Fix getlogger for ansibletest
Browse files Browse the repository at this point in the history
  • Loading branch information
lpiwowar committed Sep 30, 2024
1 parent 1f0c355 commit 5502603
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 5502603

Please sign in to comment.