Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix time capture and handle 'under a minute' times in Aruba show system (issue#1837) #1858

Merged

Conversation

mjbear
Copy link
Contributor

@mjbear mjbear commented Sep 29, 2024

resolves #1837
bug fix

  • Handle 'under a minute' times in Aruba show system
  • Fix incorrect time value capturing
    • (ex: if a value was 22 hours, only the last 2 would be captured)

@mjbear
Copy link
Contributor Author

mjbear commented Sep 29, 2024

There's a larger uptime parsing issue that I'm working to identify and fix.

Update: Essentially if the time value was greater than a single digit the first digit was being lopped off (probably regex greediness).

@mjbear mjbear changed the title Handle 'under a minute' times in Aruba show system (issue#1837) Fix time capture and handle 'under a minute' times in Aruba show system (issue#1837) Sep 29, 2024
@jmcgill298 jmcgill298 merged commit a4a5c3b into networktocode:master Sep 30, 2024
14 checks passed
@mjbear mjbear deleted the aruba_aoscx_show_sys_issue1837 branch October 2, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aruba AOSCX show system output fails when the uptime contains string "under a minute"
2 participants