mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
Fix kubelet_server_journal --until parms.
Signed-off-by: yanggang <gang.yang@daocloud.io>
This commit is contained in:
parent
741fd84d15
commit
9c39f2b776
@ -37,7 +37,7 @@ func getLoggingCmd(n *nodeLogQuery, services []string) (string, []string, error)
|
||||
args = append(args, fmt.Sprintf("--since=%s", n.SinceTime.Format(dateLayout)))
|
||||
}
|
||||
if n.UntilTime != nil {
|
||||
args = append(args, fmt.Sprintf("--until=%s", n.SinceTime.Format(dateLayout)))
|
||||
args = append(args, fmt.Sprintf("--until=%s", n.UntilTime.Format(dateLayout)))
|
||||
}
|
||||
if n.TailLines != nil {
|
||||
args = append(args, "--pager-end", fmt.Sprintf("--lines=%d", *n.TailLines))
|
||||
|
Loading…
Reference in New Issue
Block a user