From 0f38b128fa51711f4ea9e990cd2b8ccdcddf2ada Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Thu, 3 Jul 2025 21:30:09 +1000 Subject: [PATCH] chore: fail 'machine rm' as not fully implemented --- cmd/uncloud/machine/rm.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/uncloud/machine/rm.go b/cmd/uncloud/machine/rm.go index 68a258fb..3a5a7ece 100644 --- a/cmd/uncloud/machine/rm.go +++ b/cmd/uncloud/machine/rm.go @@ -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.