Skip to content

Commit 4d8bde0

Browse files
committed
Remove extra whitespace in get API command
(cherry picked from commit 0e82784)
1 parent 2afd651 commit 4d8bde0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/cmd/get.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ func describeAPI(name string, resourcesRes *schema.GetResourcesResponse, flagVer
489489

490490
apiEndpoint := urls.Join(resourcesRes.APIsBaseURL, anyAPIStatus.Path)
491491

492-
out := "\nURL: " + apiEndpoint + "\n"
493-
out += fmt.Sprintf("cURL: curl -k -X POST -H \"Content-Type: application/json\" %s -d @samples.json\n", apiEndpoint)
492+
out := "\nURL: " + apiEndpoint + "\n"
493+
out += fmt.Sprintf("cURL: curl -k -X POST -H \"Content-Type: application/json\" %s -d @samples.json\n", apiEndpoint)
494494
out += "\n"
495495
out += fmt.Sprintf("Status: %s\n", groupStatus.Message())
496496
out += fmt.Sprintf("Available replicas: %s\n", s.Int32(groupStatus.Available()))

0 commit comments

Comments
 (0)