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: events/codedeploy.go:16:2: SA9004 (staticcheck) #322

Merged
merged 4 commits into from Oct 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions .golangci.yml
Expand Up @@ -26,9 +26,3 @@ run:
# CodeBuildPhaseTypeSubmitted CodeBuildPhaseType = "SUBMITTED"
# ^
- events/codebuild.go

# FIXME
# events/codedeploy.go:16:2: SA9004: only the first constant in this group has an explicit type (staticcheck)
# CodeDeployDeploymentStateFailure CodeDeployDeploymentState = "FAILURE"
# ^
- events/codedeploy.go
8 changes: 4 additions & 4 deletions events/codedeploy.go
Expand Up @@ -14,10 +14,10 @@ type CodeDeployDeploymentState string

const (
CodeDeployDeploymentStateFailure CodeDeployDeploymentState = "FAILURE"
CodeDeployDeploymentStateReady = "READY"
CodeDeployDeploymentStateStart = "START"
CodeDeployDeploymentStateStop = "STOP"
CodeDeployDeploymentStateSuccess = "SUCCESS"
CodeDeployDeploymentStateReady CodeDeployDeploymentState = "READY"
CodeDeployDeploymentStateStart CodeDeployDeploymentState = "START"
CodeDeployDeploymentStateStop CodeDeployDeploymentState = "STOP"
CodeDeployDeploymentStateSuccess CodeDeployDeploymentState = "SUCCESS"
)

// CodeDeployEvent is documented at:
Expand Down