Skip to content

Commit 9fd701d

Browse files
committed
cli: improve error message for update command
Signed-off-by: Abiola Ibrahim <git@abiosoft.com>
1 parent 1896dab commit 9fd701d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func (c colimaApp) Active() bool {
458458
func (c *colimaApp) Update() error {
459459
ctx := context.Background()
460460
if !c.guest.Running(ctx) {
461-
return fmt.Errorf("%s is not running", config.CurrentProfile().DisplayName)
461+
return fmt.Errorf("runtime cannot be updated, %s is not running", config.CurrentProfile().DisplayName)
462462
}
463463

464464
runtime, err := c.currentRuntime(ctx)

0 commit comments

Comments
 (0)