Skip to content

Commit 9d7d451

Browse files
authored
Fix goreportcard test and run make fmt (#369)
1 parent f718727 commit 9d7d451

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/monitor/sqsevent/sqs-monitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func TestMonitor_DrainTasks(t *testing.T) {
184184
}
185185

186186
func TestMonitor_DrainTasks_Errors(t *testing.T) {
187-
testEvents := []sqsevent.EventBridgeEvent{spotItnEvent, asgLifecycleEvent, sqsevent.EventBridgeEvent{}, rebalanceRecommendationEvent}
187+
testEvents := []sqsevent.EventBridgeEvent{spotItnEvent, asgLifecycleEvent, {}, rebalanceRecommendationEvent}
188188
messages := make([]*sqs.Message, 0, len(testEvents))
189189
for _, event := range testEvents {
190190
msg, err := getSQSMessageFromEvent(event)

test/go-report-card-test/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM golang:1
22

33
WORKDIR /app
44

5+
ARG GO111MODULE=auto
56
RUN go get github.com/gojp/goreportcard
67
RUN cd $GOPATH/src/github.com/gojp/goreportcard && (make install || cd / && curl -L https://git.io/vp6lP | sh)
78

0 commit comments

Comments
 (0)