change url to client
This commit is contained in:
parent
4fa0c395df
commit
2980010e63
|
@ -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:
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
package command
|
||||
|
||||
|
||||
fucn TestUiCommand(t *testing.T) {
|
||||
ui := new(cli.MockUi)
|
||||
}
|
Loading…
Reference in New Issue