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

Use specific type for exit code #141

Merged
merged 3 commits into from
Jul 27, 2020

Conversation

tisnik
Copy link
Collaborator

@tisnik tisnik commented Jul 27, 2020

Description

Use specific type for exit code

Type of change

  • Refactor (refactoring code, removing useless files)

Testing steps

N/A

// ExitCode represents numeric value returned to parent process when the
// current process finishes
type ExitCode int

const (
// ExitStatusOK means that the service have finished with success
ExitStatusOK = iota

Choose a reason for hiding this comment

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

I think we could use ExitCode as a type here

@codecov-commenter
Copy link

Codecov Report

Merging #141 into master will not change coverage.
The diff coverage is 57.14%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #141   +/-   ##
=======================================
  Coverage   49.58%   49.58%           
=======================================
  Files          11       11           
  Lines         954      954           
=======================================
  Hits          473      473           
  Misses        422      422           
  Partials       59       59           
Impacted Files Coverage Δ
smart_proxy.go 38.37% <57.14%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3eaf93...91b06eb. Read the comment docs.

@tisnik tisnik merged commit 66c3d51 into RedHatInsights:master Jul 27, 2020
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.

4 participants