mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Merge pull request #5595 from dokku/remove-deprecated-failed-all
Remove deprecated ability to call logs:failed without specifying an app or --all flag
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
```
|
||||
logs <app> [-h|--help] [-t|--tail] [-n|--num num] [-q|--quiet] [-p|--ps process] # Display recent log output
|
||||
logs:failed [--all|<app>] # Shows the last failed deploy logs
|
||||
logs:failed --all|<app> # Shows the last failed deploy logs
|
||||
logs:report [<app>] [<flag>] # Displays a logs report for one or more apps
|
||||
logs:set [--global|<app>] <key> <value> # Set or clear a logs property for an app
|
||||
logs:vector-logs [--num num] [--tail] # Display vector log output
|
||||
|
||||
@@ -37,11 +37,6 @@ func CommandFailed(appName string, allApps bool) error {
|
||||
return common.RunCommandAgainstAllAppsSerially(GetFailedLogs, "logs:failed")
|
||||
}
|
||||
|
||||
if appName == "" {
|
||||
common.LogWarn("Deprecated: logs:failed specified without app, assuming --all")
|
||||
return common.RunCommandAgainstAllAppsSerially(GetFailedLogs, "logs:failed")
|
||||
}
|
||||
|
||||
if err := common.VerifyAppName(appName); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user