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: staticcheck warnings in events/codebuild.go #323

Merged
merged 3 commits into from Oct 3, 2020

Conversation

shogo82148
Copy link
Contributor

Issue #, if available:

Description of changes:

it fixes the following warnings.

    # events/codebuild.go:18:2: SA9004: only the first constant in this group has an explicit type (staticcheck)
    # 	CodeBuildPhaseStatusFailed     CodeBuildPhaseStatus = "FAILED"
    # 	^
    # events/codebuild.go:31:2: SA9004: only the first constant in this group has an explicit type (staticcheck)
    # 	CodeBuildPhaseTypeSubmitted       CodeBuildPhaseType = "SUBMITTED"
    # 	^

In addition, it fixes that CodeBuildEventDetail.CurrentPhase and CodeBuildEventDetail. CompletedPhase have incorrect type.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2020

Codecov Report

Merging #323 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #323   +/-   ##
=======================================
  Coverage   72.46%   72.46%           
=======================================
  Files          18       18           
  Lines         730      730           
=======================================
  Hits          529      529           
  Misses        136      136           
  Partials       65       65           
Impacted Files Coverage Δ
events/codebuild.go 44.44% <ø> (ø)

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 b0cb7b2...8ac6435. Read the comment docs.

@bmoffatt bmoffatt merged commit 308c17f into aws:master Oct 3, 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.

None yet

3 participants