mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-16 04:10:49 +08:00
feat: add more description
This commit is contained in:
@@ -892,6 +892,9 @@ func SshJump(ctx context.Context, conf *util.SshConfig, flags *pflag.FlagSet, pr
|
||||
}
|
||||
|
||||
func SshJumpAndSetEnv(ctx context.Context, conf *util.SshConfig, flags *pflag.FlagSet, print bool) error {
|
||||
if conf.Addr == "" && conf.ConfigAlias == "" {
|
||||
return nil
|
||||
}
|
||||
path, err := SshJump(ctx, conf, flags, print)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user