Skip to content

Commit

Permalink
Merge pull request #28756 from LiangquanLi930/build-adjust
Browse files Browse the repository at this point in the history
NO-JIRA: Adjust the method of get the apiServer
  • Loading branch information
openshift-merge-bot[bot] committed Apr 30, 2024
2 parents 226191c + a415081 commit 07e13e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/extended/cli/builds.go
Expand Up @@ -207,7 +207,7 @@ var _ = g.Describe("[sig-cli] oc builds", func() {
out, err := oc.WithoutNamespace().Run("--namespace=default", "status").Args().Output()
o.Expect(err).NotTo(o.HaveOccurred())
e2e.Logf("got status value of: %s", out)
matcher := regexp.MustCompile("https?://.*?443")
matcher := regexp.MustCompile(`https?://.*?:\d+`)
apiServer = matcher.FindString(out)
o.Expect(apiServer).NotTo(o.BeEmpty())

Expand Down

0 comments on commit 07e13e2

Please sign in to comment.