Skip to content

Commit 9083445

Browse files
committed
limactl start: silence unnecessary hint
`limactl start` was spamming `Hint: To create another instance, run the following command...` when the "default" instance exists Signed-off-by: Akihiro Suda <[email protected]>
1 parent 8fbc88a commit 9083445

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/limactl/start.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,6 @@ func loadOrCreateInstance(cmd *cobra.Command, args []string, createOnly bool) (*
221221
return nil, fmt.Errorf("Instance %q already exists", st.instName)
222222
}
223223
logrus.Infof("Using the existing instance %q", st.instName)
224-
if arg == "" {
225-
logrus.Infof("Hint: To create another instance, run the following command: limactl create --name=NAME template://default")
226-
}
227224
yqExprs, err := editflags.YQExpressions(flags, false)
228225
if err != nil {
229226
return nil, err

0 commit comments

Comments
 (0)