Skip to content

Commit ece13ae

Browse files
authored
fix(instance): ssh config public-gateway invalid zones (#3316)
1 parent 9367a2a commit ece13ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/namespaces/instance/v1/custom_ssh_config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ func sshConfigBastionHosts(ctx context.Context, args *sshConfigInstallRequest, s
293293
Zone: args.Zone,
294294
}, reqOpts...)
295295
if err != nil {
296+
if strings.Contains(err.Error(), "unknown service") {
297+
return nil, nil
298+
}
296299
// TODO: check permissions and print warning
297300
return nil, err
298301
}

0 commit comments

Comments
 (0)