Skip to content

Commit

Permalink
go fmt ./...
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJosh9000 committed May 30, 2024
1 parent 008bc11 commit 0be59c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func Run(
ClusterUUID: cfg.ClusterUUID,
MaxInFlight: cfg.MaxInFlight,
PollInterval: cfg.PollInterval,
Tags: cfg.Tags,
Token: cfg.BuildkiteToken,
Tags: cfg.Tags,
Token: cfg.BuildkiteToken,
})
if err != nil {
logger.Fatal("failed to create monitor", zap.Error(err))
Expand Down
8 changes: 4 additions & 4 deletions internal/integration/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (

func TestInvalidOrg(t *testing.T) {
m, err := monitor.New(zap.Must(zap.NewDevelopment()), fake.NewSimpleClientset(), monitor.Config{
Token: os.Getenv("BUILDKITE_TOKEN"),
MaxInFlight: 1,
Token: os.Getenv("BUILDKITE_TOKEN"),
MaxInFlight: 1,
PollInterval: time.Second,
Org: "foo",
Tags: []string{"queue=default", "foo=bar"},
Org: "foo",
Tags: []string{"queue=default", "foo=bar"},
})
require.NoError(t, err)

Expand Down

0 comments on commit 0be59c3

Please sign in to comment.