chore: fail 'machine rm' as not fully implemented

This commit is contained in:
Pasha Sviderski
2025-07-03 21:30:09 +10:00
parent 535b91fe52
commit 0f38b128fa
+4 -3
View File
@@ -107,11 +107,12 @@ func remove(ctx context.Context, uncli *cli.CLI, machineName string, opts remove
fmt.Println()
}
// TODO: 4. Implement and call ResetMachine via Machine API to reset the machine state to uninitialised.
// TODO: 4. Implement and call Reset via Machine API to reset the machine state to uninitialised.
// TODO: 5. Remove the machine from the cluster store.
fmt.Printf("Machine '%s' removed from the cluster.\n", m.Name)
return nil
return fmt.Errorf("resetting machine is not fully implemented yet")
//fmt.Printf("Machine '%s' removed from the cluster.\n", m.Name)
//return nil
}
// formatContainerTree formats a list of containers grouped by service as a tree structure.