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

Added executors - part 1 #12

Merged
merged 3 commits into from
May 9, 2024
Merged

Added executors - part 1 #12

merged 3 commits into from
May 9, 2024

Conversation

iulianpascalau
Copy link
Contributor

  • added executors - part 1

@iulianpascalau iulianpascalau marked this pull request as draft May 7, 2024 15:46
Base automatically changed from refactored-parsers to main May 8, 2024 11:14
@iulianpascalau iulianpascalau marked this pull request as ready for review May 8, 2024 11:14
@andreibancioiu andreibancioiu self-requested a review May 8, 2024 11:36
andreibancioiu
andreibancioiu previously approved these changes May 9, 2024
Copy link

@andreibancioiu andreibancioiu left a comment

Choose a reason for hiding this comment

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

👍

var (
errNilRatingsChecker = errors.New("nil ratings checker instance")
errNilOutputNotifier = errors.New("nil output notifier")
errNilValidatorStatisticsQuerier = errors.New("nil output notifier")
Copy link

Choose a reason for hiding this comment

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

change error message

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

}

func shortIdentifier(identifier string) string {
if len(identifier) <= 15 {
Copy link

Choose a reason for hiding this comment

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

maybe you can add a const for this magic number

Copy link
Contributor Author

Choose a reason for hiding this comment

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

refactored

return identifier
}

return identifier[:6] + "..." + identifier[len(identifier)-6:]
Copy link

Choose a reason for hiding this comment

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

also here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

refactored

@iulianpascalau iulianpascalau merged commit 450caca into main May 9, 2024
4 checks passed
@iulianpascalau iulianpascalau deleted the adding-executors-part1 branch May 9, 2024 10:30
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.

3 participants