feat: deprecate logs:failed without an argument or flag

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-11-22 15:01:36 -05:00
1 parent b6db484393
commit 9dba48fc19
2 files changed
+5 -1

No files matched your search

@@ -1,5 +1,9 @@
# 0.22.0 Migration Guide # 0.22.0 Migration Guide
## Deprecations
- Calling `logs:failed` without either a `<name>` or the `--all` flag is deprecated.
## Changes ## Changes
- Underscores are no longer valid characters in app names. Please rename applications before upgrading. - Underscores are no longer valid characters in app names. Please rename applications before upgrading.
+1 -1
View File
@@ -39,7 +39,7 @@ func CommandFailed(appName string, allApps bool) error {
} }
if appName == "" { 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") return common.RunCommandAgainstAllAppsSerially(GetFailedLogs, "logs:failed")
} }