feat: deprecate logs:failed without an argument or flag
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user