@@ -38,8 +38,8 @@ func TestTemplateEdit(t *testing.T) {
38
38
"edit" ,
39
39
template .Name ,
40
40
"--description" , desc ,
41
- "--max_ttl " , maxTTL .String (),
42
- "--min_autostart_interval " , minAutostartInterval .String (),
41
+ "--max-ttl " , maxTTL .String (),
42
+ "--min-autostart-interval " , minAutostartInterval .String (),
43
43
}
44
44
cmd , root := clitest .New (t , cmdArgs ... )
45
45
clitest .SetupConfig (t , client , root )
@@ -74,8 +74,8 @@ func TestTemplateEdit(t *testing.T) {
74
74
"edit" ,
75
75
template .Name ,
76
76
"--description" , template .Description ,
77
- "--max_ttl " , (time .Duration (template .MaxTTLMillis ) * time .Millisecond ).String (),
78
- "--min_autostart_interval " , (time .Duration (template .MinAutostartIntervalMillis ) * time .Millisecond ).String (),
77
+ "--max-ttl " , (time .Duration (template .MaxTTLMillis ) * time .Millisecond ).String (),
78
+ "--min-autostart-interval " , (time .Duration (template .MinAutostartIntervalMillis ) * time .Millisecond ).String (),
79
79
}
80
80
cmd , root := clitest .New (t , cmdArgs ... )
81
81
clitest .SetupConfig (t , client , root )
0 commit comments