Skip to content

Commit 4db2488

Browse files
committed
make fmt
1 parent c548fca commit 4db2488

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cli/trafficgen.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import (
44
"context"
55
"encoding/json"
66
"fmt"
7+
"io"
8+
"sync/atomic"
9+
"time"
10+
711
"github.com/coder/coder/cli/clibase"
812
"github.com/coder/coder/codersdk"
913
"github.com/coder/coder/cryptorand"
1014
"github.com/google/uuid"
1115
"golang.org/x/xerrors"
12-
"io"
13-
"sync/atomic"
14-
"time"
1516
)
1617

1718
func (r *RootCmd) trafficGen() *clibase.Cmd {

cli/trafficgen_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ package cli_test
33
import (
44
"bytes"
55
"context"
6+
"strings"
7+
"testing"
8+
69
"github.com/coder/coder/agent"
710
"github.com/coder/coder/cli/clitest"
811
"github.com/coder/coder/coderd/coderdtest"
@@ -12,8 +15,6 @@ import (
1215
"github.com/coder/coder/testutil"
1316
"github.com/google/uuid"
1417
"github.com/stretchr/testify/require"
15-
"strings"
16-
"testing"
1718
)
1819

1920
// This test pretends to stand up a workspace and run a no-op traffic generation test.

0 commit comments

Comments
 (0)