mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
feat: deprecate logs:failed without an argument or flag
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user