feat: deprecate logs:failed without an argument or flag

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-22 00:00:05 -05:00
parent b6db484393
commit 9dba48fc19
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
# 0.22.0 Migration Guide
## Deprecations
- Calling `logs:failed` without either a `<name>` or the `--all` flag is deprecated.
## Changes
- Underscores are no longer valid characters in app names. Please rename applications before upgrading.

View File

@@ -39,7 +39,7 @@ func CommandFailed(appName string, allApps bool) error {
}
if appName == "" {
common.LogWarn("Restore specified without app, assuming --all")
common.LogWarn("Deprecated: Restore specified without app, assuming --all")
return common.RunCommandAgainstAllAppsSerially(GetFailedLogs, "logs:failed")
}