Skip to content

Commit

Permalink
Changed the name of the function
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Savian <[email protected]>
  • Loading branch information
vitorsavian committed Sep 15, 2023
1 parent a3b9501 commit 2aee59d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func K3sSaveLog(server *K3sServer, dump bool) error {
return nil
}

func ParseAPIInfo() (string, error) {
func GetEndpointsAddresses() (string, error) {
client, err := k8sClient()
if err != nil {
return "", err
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/startup/startup_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var _ = Describe("startup tests", Ordered, func() {
}))
})
It("get the kubectl and see if has the right advertise ip", func() {
apiInfo, err := testutil.ParseAPIInfo()
apiInfo, err := testutil.GetEndpointsAddresses()
Expect(err).ToNot(HaveOccurred())
Expect(apiInfo).To(ContainSubstring("11.11.22.22"))
})
Expand Down

0 comments on commit 2aee59d

Please sign in to comment.