Skip to content

Commit b52d56a

Browse files
committed
Merge main into fixgit
2 parents 00b83d5 + eb60692 commit b52d56a

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

cli/gitssh_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ import (
99

1010
"github.com/gliderlabs/ssh"
1111
"github.com/google/uuid"
12-
"github.com/spf13/cobra"
1312
"github.com/stretchr/testify/require"
1413
gossh "golang.org/x/crypto/ssh"
1514

1615
"github.com/coder/coder/cli/clitest"
17-
"github.com/coder/coder/cli/config"
1816
"github.com/coder/coder/coderd/coderdtest"
1917
"github.com/coder/coder/codersdk"
2018
"github.com/coder/coder/provisioner/echo"
@@ -108,12 +106,3 @@ func TestGitSSH(t *testing.T) {
108106
require.EqualValues(t, 1, inc)
109107
})
110108
}
111-
112-
// createConfig consumes the global configuration flag to produce a config root.
113-
func createConfig(cmd *cobra.Command) config.Root {
114-
globalRoot, err := cmd.Flags().GetString("global-config")
115-
if err != nil {
116-
panic(err)
117-
}
118-
return config.Root(globalRoot)
119-
}

coderd/userpassword/hashing_bench_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import (
44
"crypto/sha256"
55
"testing"
66

7-
"github.com/coder/coder/cryptorand"
87
"golang.org/x/crypto/bcrypt"
98
"golang.org/x/crypto/pbkdf2"
9+
10+
"github.com/coder/coder/cryptorand"
1011
)
1112

1213
var (

provisioner/terraform/provision.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (t *terraform) Provision(stream proto.DRPCProvisioner_ProvisionStream) erro
120120

121121
env := os.Environ()
122122
env = append(env,
123-
"CODER_URL="+start.Metadata.CoderUrl,
123+
"CODER_AGENT_URL="+start.Metadata.CoderUrl,
124124
"CODER_WORKSPACE_TRANSITION="+strings.ToLower(start.Metadata.WorkspaceTransition.String()),
125125
"CODER_WORKSPACE_NAME="+start.Metadata.WorkspaceName,
126126
"CODER_WORKSPACE_OWNER="+start.Metadata.WorkspaceOwner,

0 commit comments

Comments
 (0)