Skip to content

Commit dbbfde6

Browse files
committed
fix: correct typo in topic route.
1 parent 5c33305 commit dbbfde6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/run/stack.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func (r *RunStackState) TopicTable(port int) string {
111111

112112
for k := range r.subs {
113113
tableData = append(tableData, []string{
114-
k, fmt.Sprintf("http://localhost:%d/topics/%s", port, k),
114+
k, fmt.Sprintf("http://localhost:%d/topic/%s", port, k),
115115
})
116116
}
117117

@@ -126,7 +126,7 @@ func (r *RunStackState) SchedulesTable(port int) string {
126126
for k := range r.schedules {
127127
nKey := strings.ToLower(strings.ReplaceAll(k, " ", "-"))
128128
tableData = append(tableData, []string{
129-
k, fmt.Sprintf("http://localhost:%d/topics/%s", port, nKey),
129+
k, fmt.Sprintf("http://localhost:%d/topic/%s", port, nKey),
130130
})
131131
}
132132

0 commit comments

Comments
 (0)