Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHuynh committed Sep 25, 2023
1 parent a9fb161 commit d8469d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vela/queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
package vela

import (
"encoding/json"
"encoding/json" //nolint:goimports

Check failure on line 8 in vela/queue_test.go

View workflow job for this annotation

GitHub Actions / diff-review

directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)

Check failure on line 8 in vela/queue_test.go

View workflow job for this annotation

GitHub Actions / diff-review

directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)

Check failure on line 8 in vela/queue_test.go

View workflow job for this annotation

GitHub Actions / full-review

directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)

Check failure on line 8 in vela/queue_test.go

View workflow job for this annotation

GitHub Actions / golangci

[golangci] vela/queue_test.go#L8

directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)
Raw output
vela/queue_test.go:8:18: directive `//nolint:goimports` should provide explanation such as `//nolint:goimports // this is why` (nolintlint)
	"encoding/json" //nolint:goimports
	                ^
"github.com/gin-gonic/gin"
"github.com/go-vela/server/mock/server"
"github.com/go-vela/types/library"
"github.com/google/go-cmp/cmp"
"net/http" //nolint:goimports
"net/http"

Check failure on line 13 in vela/queue_test.go

View workflow job for this annotation

GitHub Actions / golangci

[golangci] vela/queue_test.go#L13

File is not `goimports`-ed (goimports)
Raw output
vela/queue_test.go:13: File is not `goimports`-ed (goimports)
	"net/http"
	"net/http/httptest"
	"testing"
"net/http/httptest"
"testing"
)
Expand Down

0 comments on commit d8469d0

Please sign in to comment.