Skip to content

Commit 575dd05

Browse files
vishalbolludeliahu
authored andcommitted
Add newline after endpoint in cortex get output
(cherry picked from commit 1841774)
1 parent 41beac0 commit 575dd05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/cmd/lib_realtime_apis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func realtimeAPITable(realtimeAPI schema.APIResponse, env cliconfig.Environment)
6666
out += "\n" + console.Bold("metrics dashboard: ") + *realtimeAPI.DashboardURL + "\n"
6767
}
6868

69-
out += "\n" + console.Bold("endpoint: ") + realtimeAPI.Endpoint
69+
out += "\n" + console.Bold("endpoint: ") + realtimeAPI.Endpoint + "\n"
7070

7171
if !(realtimeAPI.Spec.Predictor.Type == userconfig.PythonPredictorType && realtimeAPI.Spec.Predictor.ModelPath == nil && realtimeAPI.Spec.Predictor.Models == nil) {
7272
out += "\n" + describeModelInput(realtimeAPI.Status, realtimeAPI.Spec.Predictor, realtimeAPI.Endpoint)

cli/cmd/lib_traffic_splitters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func trafficSplitterTable(trafficSplitter schema.APIResponse, env cliconfig.Envi
4949
out += t.MustFormat()
5050

5151
out += "\n" + console.Bold("last updated: ") + libtime.SinceStr(&lastUpdated)
52-
out += "\n" + console.Bold("endpoint: ") + trafficSplitter.Endpoint
52+
out += "\n" + console.Bold("endpoint: ") + trafficSplitter.Endpoint + "\n"
5353

5454
out += "\n" + apiHistoryTable(trafficSplitter.APIVersions)
5555

0 commit comments

Comments
 (0)