We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26bfd15 + 4aa3d95 commit 598e0e8Copy full SHA for 598e0e8
cmd/limactl/shell.go
@@ -94,6 +94,12 @@ func shellAction(cmd *cobra.Command, args []string) error {
94
}
95
return err
96
97
+ if inst.Config == nil {
98
+ if len(inst.Errors) > 0 {
99
+ return fmt.Errorf("instance %q has configuration errors: %w", instName, errors.Join(inst.Errors...))
100
+ }
101
+ return fmt.Errorf("instance %q has no configuration", instName)
102
103
if inst.Status == limatype.StatusStopped {
104
startNow, err := flags.GetBool("start")
105
if err != nil {
0 commit comments