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

Add runtime to red service list #22

Merged

Conversation

manegron
Copy link
Member

  • New option: red service list -r or red service list --runtime to show runtime of services

@the-label-bot the-label-bot bot added kind/feature kind/feature size/M size/M labels May 27, 2024
Copy link

the-label-bot bot commented May 27, 2024

The Label Bot has predicted the following:

Category Value Confidence Applied Label
Kind feature 0.751 ✔️
Size M 0.932 ✔️

Copy link
Member

@ljblancoredborder ljblancoredborder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use always prints on line 60 and 62 instead of doing differentiation, making the if content shorter. The same can be applied on 101 and 107
Color GREEN,YELLOW,RED can be parametrized, in order to collapse repeated code from 74 to 96 into a def function
If we expect to increase the number of arguments, we should create a def for the arguments (line 25)

@ljblancoredborder ljblancoredborder merged commit 71193f3 into development May 27, 2024
@ljblancoredborder ljblancoredborder deleted the improvement/add_runtime_to_get_service branch May 27, 2024 16:58
@ljblancoredborder ljblancoredborder mentioned this pull request May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants