Skip to content

Commit 403831c

Browse files
committed
Fix imports, whitespace
Signed-off-by: Spike Curtis <spike@coder.com>
1 parent bb22d9b commit 403831c

File tree

4 files changed

+13
-18
lines changed

4 files changed

+13
-18
lines changed

coderd/batchstats/batcher_internal_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/coder/coder/v2/coderd/database/pubsub"
9-
108
"github.com/stretchr/testify/require"
119

1210
"cdr.dev/slog"
@@ -16,6 +14,7 @@ import (
1614
"github.com/coder/coder/v2/coderd/database/dbgen"
1715
"github.com/coder/coder/v2/coderd/database/dbtestutil"
1816
"github.com/coder/coder/v2/coderd/database/dbtime"
17+
"github.com/coder/coder/v2/coderd/database/pubsub"
1918
"github.com/coder/coder/v2/coderd/rbac"
2019
"github.com/coder/coder/v2/codersdk/agentsdk"
2120
"github.com/coder/coder/v2/cryptorand"

coderd/database/dbgen/dbgen.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/coder/coder/v2/coderd/database/provisionerjobs"
15-
"github.com/coder/coder/v2/coderd/database/pubsub"
16-
1714
"github.com/google/uuid"
1815
"github.com/moby/moby/pkg/namesgenerator"
1916
"github.com/sqlc-dev/pqtype"
@@ -22,6 +19,8 @@ import (
2219
"github.com/coder/coder/v2/coderd/database"
2320
"github.com/coder/coder/v2/coderd/database/dbauthz"
2421
"github.com/coder/coder/v2/coderd/database/dbtime"
22+
"github.com/coder/coder/v2/coderd/database/provisionerjobs"
23+
"github.com/coder/coder/v2/coderd/database/pubsub"
2524
"github.com/coder/coder/v2/coderd/rbac"
2625
"github.com/coder/coder/v2/cryptorand"
2726
)

coderd/wsbuilder/wsbuilder_test.go

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,19 @@ import (
88
"testing"
99
"time"
1010

11-
"cdr.dev/slog"
12-
"cdr.dev/slog/sloggers/slogtest"
13-
14-
"go.uber.org/atomic"
15-
16-
"github.com/coder/coder/v2/coderd/database/provisionerjobs"
17-
"github.com/coder/coder/v2/coderd/database/pubsub"
18-
1911
"github.com/golang/mock/gomock"
2012
"github.com/google/uuid"
2113
"github.com/stretchr/testify/assert"
2214
"github.com/stretchr/testify/require"
15+
"go.uber.org/atomic"
2316

17+
"cdr.dev/slog"
18+
"cdr.dev/slog/sloggers/slogtest"
2419
"github.com/coder/coder/v2/coderd/database"
2520
"github.com/coder/coder/v2/coderd/database/dbmock"
2621
"github.com/coder/coder/v2/coderd/database/dbtime"
22+
"github.com/coder/coder/v2/coderd/database/provisionerjobs"
23+
"github.com/coder/coder/v2/coderd/database/pubsub"
2724
"github.com/coder/coder/v2/coderd/provisionerdserver"
2825
"github.com/coder/coder/v2/coderd/wsbuilder"
2926
"github.com/coder/coder/v2/codersdk"

provisionerd/proto/provisionerd.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ service ProvisionerDaemon {
145145
option deprecated = true;
146146
};
147147
// AcquireJobWithCancel requests a job, blocking until
148-
// a job is available or the client sends CancelAcquire.
149-
// Server will send exactly one AcquiredJob, which is
150-
// empty if a cancel was successful. This RPC is a bidirectional
151-
// stream since both messages are asynchronous with no implied
152-
// ordering.
148+
// a job is available or the client sends CancelAcquire.
149+
// Server will send exactly one AcquiredJob, which is
150+
// empty if a cancel was successful. This RPC is a bidirectional
151+
// stream since both messages are asynchronous with no implied
152+
// ordering.
153153
rpc AcquireJobWithCancel(stream CancelAcquire) returns (stream AcquiredJob);
154154

155155
rpc CommitQuota(CommitQuotaRequest) returns (CommitQuotaResponse);

0 commit comments

Comments
 (0)