Merge pull request #2444 from balena-io/balena-leave-clearer-message

patch: Tell user that balena leave command does not remove the device…
This commit is contained in:
bulldozer-balena[bot] 2022-04-11 16:33:26 +00:00 committed by GitHub
commit f8402bc40c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(