mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
--since flag added
This commit is contained in:
@@ -126,7 +126,7 @@ func getPodLogs(ctx context.Context, client *kubernetes.Clientset, pod corev1.Po
|
||||
sinceTime := metav1.NewTime(t)
|
||||
podLogOpts.SinceTime = &sinceTime
|
||||
|
||||
} else if limits != nil && limits.MaxAge != "" {
|
||||
} else if limits != nil && (limits.MaxAge != "" || limits.Since != "") {
|
||||
if limits.Since != "" {
|
||||
limits.MaxAge = limits.Since
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user