docs: more clarity on prune functionality
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2023-02-17 11:00:02 +01:00
parent 98fc36c830
commit 4dbe1362a8
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 6 additions and 3 deletions

View File

@ -87,9 +87,12 @@ var appUndeployCommand = cli.Command{
Usage: "Undeploy an app",
BashComplete: autocomplete.AppNameComplete,
Description: `
This does not destroy any of the application data. However, you should remain
vigilant, as your swarm installation will consider any previously attached
volumes as eligible for pruning once undeployed.
This does not destroy any of the application data.
However, you should remain vigilant, as your swarm installation will consider
any previously attached volumes as eligible for pruning once undeployed.
Passing "-p/--prune" does not remove those volumes.
`,
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)