mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
change url to client
This commit is contained in:
@@ -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:
|
||||
|
||||
6
command/ui_test.go
Normal file
6
command/ui_test.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package command
|
||||
|
||||
|
||||
fucn TestUiCommand(t *testing.T) {
|
||||
ui := new(cli.MockUi)
|
||||
}
|
||||
Reference in New Issue
Block a user