mirror of
https://github.com/docker/docs.git
synced 2026-10-23 18:09:02 +03:00
docs: explain missing-secret failures in cleanup scripts
Automation guidance did not cover secret removals that match no stored entry. Explain the nonzero result and checking for matching secrets before cleanup.
This commit is contained in:
@@ -66,7 +66,8 @@ script.
|
||||
|
||||
For repeatable cleanup, check which resources exist before removing them. For
|
||||
example, use `sbx mcp ls` before `sbx mcp rm`, which fails for an unregistered
|
||||
server even with `--force`.
|
||||
server even with `--force`. Likewise, `sbx secret rm` fails if no secret matches
|
||||
the selector; check for matches with `sbx secret ls` before removing secrets.
|
||||
|
||||
## Parse command output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user