Closed flavianmissi closed 8 months ago
LGTM. I'm deferring to @ingvagabund for another set of eyes.
something is still off, holding until I figure it out /hold
Checked that --since-time
works for both node logs (under host_service_logs
) and pod logs (under namespaces/.../pod/.../logs/current.log
.
--since
is a little more complicated - when a duration is given from via the cli as 2h
, after calling duration.String()
it is formatted as 2h0m0s
and oc adm node-logs
does takes a duration matching the (+|-)[0-9]+(s|m|h|d)
regex. I'm going to have to truncate the duration string to keep its left most part, so in the case of 2h0m0s
only 2h
would be given as an argument to oc adm node-logs
.
fixed format of duration given to oc adm node-logs
.
also using lowercase now for the non-env-vars, which seem to be the best practice.
will be pushing the updates in a moment.
Both flags now work as they should! /hold cancel
/lgtm
/label qe-approved
@flavianmissi: This pull request references WRKLDS-950 which is a valid jira issue.
@ardaguclu this one is ready to go in!
Thanks @flavianmissi /lgtm
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ardaguclu, flavianmissi, soltysh
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@flavianmissi: all tests passed!
Full PR test history. Your PR dashboard.
[ART PR BUILD NOTIFIER]
This PR has been included in build ose-must-gather-container-v4.16.0-202401221510.p0.gc8fec85.assembly.stream for distgit ose-must-gather. All builds following this will include this PR.
@flavianmissi: This pull request references WRKLDS-950 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.