Skip to content

Commit

Permalink
Fix test description
Browse files Browse the repository at this point in the history
  • Loading branch information
fdfzcq committed Mar 18, 2024
1 parent ad26267 commit a209c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podbuilder/podbuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ var _ = Describe("PodBuilder", func() {
Expect(getNames(runContainer.Ports)).NotTo(ContainElement("metrics"))
})

It("does not expose the metrics port if not set", func() {
It("exposes the metrics port if set", func() {
client.Run = []corev1.Container{{}}
client.Run[0].Name = config.RunContainerName
client.Run[0].Command = []string{"go"}
Expand Down

0 comments on commit a209c7e

Please sign in to comment.