Skip to content

Commit 1ea5f60

Browse files
committed
chore(ps:logs): support pod all logs
1 parent 53925e9 commit 1ea5f60

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

parser/ps.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ Options:
9999

100100
app := safeGetString(args, "--app")
101101
lines := safeGetInt(args, "--lines")
102-
if lines <= 0 {
102+
if lines < 0 {
103+
lines = -1
104+
} else if lines == 0 {
103105
lines = 300
104106
}
105107
follow := safeGetBool(args, "--follow")

0 commit comments

Comments
 (0)