diff --git a/command/ui.go b/command/ui.go index 8a6c42615..a4f0435a0 100644 --- a/command/ui.go +++ b/command/ui.go @@ -148,7 +148,7 @@ func (c *UiCommand) Run(args []string) int { switch match { case contexts.Nodes: - url.Path = fmt.Sprintf("ui/nodes/%s", fullID) + url.Path = fmt.Sprintf("ui/clients/%s", fullID) case contexts.Allocs: url.Path = fmt.Sprintf("ui/allocations/%s", fullID) case contexts.Jobs: diff --git a/command/ui_test.go b/command/ui_test.go new file mode 100644 index 000000000..f258f118f --- /dev/null +++ b/command/ui_test.go @@ -0,0 +1,6 @@ +package command + + +fucn TestUiCommand(t *testing.T) { + ui := new(cli.MockUi) +} \ No newline at end of file