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

Configure procs retries (on failure) #26

Merged
merged 1 commit into from
Oct 10, 2018
Merged

Conversation

olttwa
Copy link
Member

@olttwa olttwa commented Oct 10, 2018

  • Modify Changelog format

Resolves #25

@olttwa olttwa requested review from anagri and achilles42 October 10, 2018 09:37
CHANGELOG.md Outdated Show resolved Hide resolved
@@ -60,6 +60,11 @@ func KubeJobActiveDeadlineSeconds() *int64 {
return &tmp
}

func KubeJobRetries() *int32 {
tmp := int32(viper.GetInt("KUBE_JOB_RETRIES"))
Copy link
Contributor

Choose a reason for hiding this comment

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

can we rename tmp to more meaningful?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's actually a temporary variable. The only reason it exists is you can't instantiate a pointer literal in golang. You need to assign it to a variable and reference the variable to pass a pointer.

proctord/glide.yaml Outdated Show resolved Hide resolved
proctord/logger/logrus.go Outdated Show resolved Hide resolved
@olttwa olttwa force-pushed the master branch 4 times, most recently from 9e65076 to 6dab4b7 Compare October 10, 2018 10:30
@achilles42 achilles42 merged commit b3e9b8c into gojek:master Oct 10, 2018
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.

2 participants