Skip to content

Commit

Permalink
Remove additional single quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Mar 15, 2024
1 parent 2c4ed08 commit 8e75391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/domain_mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ func domainDescribe(r *test.KnRunResultCollector, domainName string, tls bool) {
for i := 0; i < 20; i++ {
out, err := k.Run("get", "domainmapping", domainName, "-o=jsonpath='{.status.url}'")
assert.NilError(r.T(), err)
out = strings.TrimSpace(out)
// Remove additional spaces and single quotes added to kubectl output
out = strings.Trim(strings.TrimSpace(out), "'")
if len(out) > 0 {
println("DEBUG wait loop:" + out + "|DEBUG")
break
}
time.Sleep(time.Second)
Expand Down

0 comments on commit 8e75391

Please sign in to comment.