chore: remove deprecated ability to call logs:failed without specifying an app or --all flag
This option was deprecated in Dokku 0.22.0.
This commit is contained in:
@@ -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