Merge pull request #4194 from dokku/4133-fix-apps-report

Drop appName check in apps:report
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2020-11-22 02:29:12 -05:00
commit f708964c5f
1 file changed
-4
-4
View File
@@ -197,10 +197,6 @@ func CommandRename(oldAppName string, newAppName string, skipDeploy bool) error
// CommandReport displays an app report for one or more apps // CommandReport displays an app report for one or more apps
func CommandReport(appName string, infoFlag string) error { func CommandReport(appName string, infoFlag string) error {
if appName == "" {
return errors.New("Please specify an app to run the command on")
}
if strings.HasPrefix(appName, "--") { if strings.HasPrefix(appName, "--") {
infoFlag = appName infoFlag = appName
appName = "" appName = ""