Skip to content

Commit

Permalink
Merge pull request kubernetes#122693 from yanggangtony/fix_kubelet_se…
Browse files Browse the repository at this point in the history
…rver_journal_linux

Fix kubelet_server_journal --until parms.
  • Loading branch information
k8s-ci-robot committed Mar 2, 2024
2 parents 55e4172 + 9c39f2b commit 673d3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/kubelet_server_journal_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 673d3c9

Please sign in to comment.