Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Allan Jacquet-Cretides <[email protected]>
  • Loading branch information
Jumanjii committed Jul 15, 2024
1 parent 021b303 commit e1c3aa5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/app/semver/semver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestSortSoftwareVersions(t *testing.T) {
for idx, testCase := range testCases {
err := Sort(testCase.versions)

if err != testCase.error && !errors.Is(err, testCase.error) {
if !errors.Is(err, testCase.error) {
t.Errorf("Case %d, error returned is not error expected. Expected %s, got: %s", idx+1, testCase.error, err)
}

Expand Down
1 change: 0 additions & 1 deletion internal/app/sources/aws/msk/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"time"

"github.com/aws/aws-sdk-go-v2/service/kafka"

"github.com/qonto/upgrade-manager/internal/app/core/software"
"github.com/qonto/upgrade-manager/internal/app/filters"
"github.com/qonto/upgrade-manager/internal/infra/aws"
Expand Down
3 changes: 1 addition & 2 deletions internal/app/sources/aws/msk/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import (
"log/slog"
"testing"

"github.com/qonto/upgrade-manager/internal/app/core/software"

"github.com/aws/aws-sdk-go-v2/service/kafka"
"github.com/aws/aws-sdk-go-v2/service/kafka/types"
"github.com/qonto/upgrade-manager/internal/app/core/software"
"github.com/qonto/upgrade-manager/internal/app/sources/utils"
"github.com/qonto/upgrade-manager/internal/infra/aws"
"github.com/stretchr/testify/mock"
Expand Down

0 comments on commit e1c3aa5

Please sign in to comment.