Skip to content

Commit

Permalink
nit i forgot one
Browse files Browse the repository at this point in the history
  • Loading branch information
swang392 committed Jan 23, 2025
1 parent b12a47a commit 4f25be5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/controller/datadogagent_controller_profiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
componentagent "github.com/DataDog/datadog-operator/internal/controller/datadogagent/component/agent"
"github.com/DataDog/datadog-operator/internal/controller/testutils"
"github.com/DataDog/datadog-operator/pkg/agentprofile"
"github.com/DataDog/datadog-operator/pkg/constants"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down Expand Up @@ -252,7 +253,7 @@ var _ = Describe("V2 Controller - DatadogAgentProfile", func() {
Name: "two",
ValueFrom: &v1.EnvVarSource{
FieldRef: &v1.ObjectFieldSelector{
FieldPath: v2alpha1.FieldPathStatusPodIP,
FieldPath: constants.FieldPathStatusPodIP,
},
},
},
Expand Down Expand Up @@ -329,7 +330,7 @@ var _ = Describe("V2 Controller - DatadogAgentProfile", func() {
Name: "two",
ValueFrom: &v1.EnvVarSource{
FieldRef: &v1.ObjectFieldSelector{
FieldPath: v2alpha1.FieldPathStatusPodIP,
FieldPath: constants.FieldPathStatusPodIP,
},
},
},
Expand Down

0 comments on commit 4f25be5

Please sign in to comment.