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:
Jose Diaz-Gonzalez
2023-01-16 01:31:56 -05:00
parent 9ce8d083b3
commit 7015fd1e5c
2 changed files with 1 additions and 6 deletions

View File

@@ -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
}