Skip to content

Commit

Permalink
cache: update tests for update pod.PrettyName().
Browse files Browse the repository at this point in the history
Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub authored and askervin committed Dec 11, 2024
1 parent a961af3 commit 6814ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resmgr/cache/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ var _ = Describe("Pod", func() {

_, pods, _ = makePopulatedCache(nriPods, nil)

Expect(pods[0].PrettyName()).To(Equal(pods[0].GetName()))
Expect(pods[0].PrettyName()).To(Equal(pods[0].GetNamespace() + "/" + pods[0].GetName()))
Expect(pods[1].PrettyName()).To(Equal(pods[1].GetNamespace() + "/" + pods[1].GetName()))
})
})
Expand Down

0 comments on commit 6814ace

Please sign in to comment.