Skip to content

Commit 9a2ada2

Browse files
committed
switched warning to error
Signed-off-by: Sahaj Bhakta <[email protected]>
1 parent 28578b5 commit 9a2ada2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func listAction(cmd *cobra.Command, args []string) error {
130130
if len(matches) > 0 {
131131
instanceNames = append(instanceNames, matches...)
132132
} else {
133-
logrus.Warnf("No instance matching %v found.", arg)
133+
return fmt.Errorf("no instance matching %v found", arg)
134134
}
135135
}
136136
} else {

0 commit comments

Comments
 (0)