leave: Update log message to advise that device still needs deleting

Change-type: patch
This commit is contained in:
Taro Murao 2022-01-14 19:07:32 +01:00 committed by Paulo Castro
parent 6d6065ddf5
commit c667ffa8eb

View File

@ -80,7 +80,12 @@ export async function leave(
logger.logDebug('Deconfiguring...');
await deconfigure(deviceHostnameOrIp);
logger.logSuccess('Device successfully left the platform.');
logger.logSuccess(stripIndent`
Device successfully left the platform. The device will still be listed as part
of the fleet, but changes to the fleet will no longer affect the device and its
status will eventually be reported as 'Offline'. To irrecoverably delete the
device from the fleet, use the 'balena device rm' command or delete it through
the balenaCloud web dashboard.`);
}
async function execCommand(