Skip to content

Commit 83e6a0b

Browse files
feat: PAAL-123 fix linter issues
1 parent ae177db commit 83e6a0b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

internal/controller/agent_controller_test.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ import (
2020
"context"
2121
"fmt"
2222

23+
. "github.com/onsi/ginkgo/v2"
24+
. "github.com/onsi/gomega"
25+
2326
webhookv1alpha1 "github.com/agentic-layer/agent-runtime-operator/internal/webhook/v1alpha1"
2427
appsv1 "k8s.io/api/apps/v1"
2528
corev1 "k8s.io/api/core/v1"
@@ -456,7 +459,7 @@ var _ = Describe("Agent Controller", func() {
456459
probe1 := &corev1.Probe{
457460
ProbeHandler: corev1.ProbeHandler{
458461
HTTPGet: &corev1.HTTPGetAction{
459-
Path: fmt.Sprintf(a2aAgentCardEndpoint),
462+
Path: a2aAgentCardEndpoint,
460463
Port: intstr.FromInt(8000),
461464
},
462465
},
@@ -465,7 +468,7 @@ var _ = Describe("Agent Controller", func() {
465468
probe2 := &corev1.Probe{
466469
ProbeHandler: corev1.ProbeHandler{
467470
HTTPGet: &corev1.HTTPGetAction{
468-
Path: fmt.Sprintf(a2aAgentCardEndpoint),
471+
Path: a2aAgentCardEndpoint,
469472
Port: intstr.FromInt(8000),
470473
},
471474
},
@@ -479,7 +482,7 @@ var _ = Describe("Agent Controller", func() {
479482
probe1 := &corev1.Probe{
480483
ProbeHandler: corev1.ProbeHandler{
481484
HTTPGet: &corev1.HTTPGetAction{
482-
Path: fmt.Sprintf(a2aAgentCardEndpoint),
485+
Path: a2aAgentCardEndpoint,
483486
Port: intstr.FromInt(8000),
484487
},
485488
},
@@ -540,7 +543,7 @@ var _ = Describe("Agent Controller", func() {
540543
httpProbe := &corev1.Probe{
541544
ProbeHandler: corev1.ProbeHandler{
542545
HTTPGet: &corev1.HTTPGetAction{
543-
Path: fmt.Sprintf(a2aAgentCardEndpoint),
546+
Path: a2aAgentCardEndpoint,
544547
Port: intstr.FromInt(8000),
545548
},
546549
},

0 commit comments

Comments
 (0)