Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
  • Loading branch information
Danny Kopping committed Sep 19, 2023
1 parent 2ff4bf5 commit da848d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scenario_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func testMinioWorking(t *testing.T, m *e2e.HTTPService) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
defer cancel()

// nolint: typecheck
b, err := yaml.Marshal(s3.Config{
Endpoint: m.HTTPEndpoint(),
Bucket: bktName,
Expand Down Expand Up @@ -109,6 +110,7 @@ func TestScenario(t *testing.T) {
require.NoError(t, s.Stop(m1))

// Expect m1 not working.
// nolint: typecheck
b, err := yaml.Marshal(s3.Config{
Endpoint: m1.Name(),
Bucket: "cheescake",
Expand All @@ -133,6 +135,7 @@ func TestScenario(t *testing.T) {
s.Close()

// Expect m2 not working.
// nolint: typecheck
b, err = yaml.Marshal(s3.Config{
Endpoint: m2.Name(),
Bucket: "cheescake",
Expand Down

0 comments on commit da848d0

Please sign in to comment.