Skip to content

Commit 865dcaa

Browse files
authored
[devbox cloud] remove sshshim gate (#523)
## Summary This code has been active for quite a while now. So we can remove the gate. ## How was it tested? - [x] did `devbox cloud shell`. and synced a file change.
1 parent d4cdfe7 commit 865dcaa

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

internal/boxcli/featureflag/sshshim.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

internal/cloud/mutagenbox/mutagenbox.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"path/filepath"
66

77
"github.com/pkg/errors"
8-
"go.jetpack.io/devbox/internal/boxcli/featureflag"
98
"go.jetpack.io/devbox/internal/cloud/mutagen"
109
)
1110

@@ -39,10 +38,6 @@ func DefaultSyncLabels(machineID string) map[string]string {
3938
}
4039

4140
func DefaultEnv() (map[string]string, error) {
42-
if featureflag.SSHShim.Disabled() {
43-
return map[string]string{}, nil
44-
}
45-
4641
shimDir, err := ShimDir()
4742
if err != nil {
4843
return nil, err

internal/cloud/openssh/sshshim/generate.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@ import (
55
"path/filepath"
66

77
"github.com/pkg/errors"
8-
"go.jetpack.io/devbox/internal/boxcli/featureflag"
98
"go.jetpack.io/devbox/internal/cloud/mutagenbox"
109
"go.jetpack.io/devbox/internal/cloud/openssh"
1110
)
1211

1312
// Setup creates the ssh and scp symlinks
1413
func Setup() error {
15-
if featureflag.SSHShim.Disabled() {
16-
return nil
17-
}
1814
shimDir, err := mutagenbox.ShimDir()
1915
if err != nil {
2016
return errors.WithStack(err)

0 commit comments

Comments
 (0)