fix: do not print empty logs on screen (#4470)
This commit is contained in:
+3
-1
@@ -209,7 +209,9 @@ func mainAdminLogs(ctx *cli.Context) error {
|
||||
if node != "" {
|
||||
logInfo.NodeName = ""
|
||||
}
|
||||
printMsg(logMessage{LogInfo: logInfo})
|
||||
if logInfo.DeploymentID != "" {
|
||||
printMsg(logMessage{LogInfo: logInfo})
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user