We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf71344 commit f2f4a83Copy full SHA for f2f4a83
cli/configssh.go
@@ -65,15 +65,6 @@ func (o sshCoderConfigOptions) isZero() bool {
65
return o.sshConfigFile == sshDefaultConfigFileName && len(o.sshOptions) == 0
66
}
67
68
-func (o sshCoderConfigOptions) equal(other sshCoderConfigOptions) bool {
69
- // Compare without side-effects or regard to order.
70
- opt1 := slices.Clone(o.sshOptions)
71
- sort.Strings(opt1)
72
- opt2 := slices.Clone(other.sshOptions)
73
- sort.Strings(opt2)
74
- return o.sshConfigFile == other.sshConfigFile && slices.Equal(opt1, opt2)
75
-}
76
-
77
func (o sshCoderConfigOptions) asArgs() (args []string) {
78
if o.sshConfigFile != sshDefaultConfigFileName {
79
args = append(args, "--ssh-config-file", o.sshConfigFile)
0 commit comments