removed container parameter
Some checks failed
Build and Push Docker Image / Build image (push) Has been cancelled

This commit is contained in:
ACoolName 2025-04-09 15:38:40 +03:00
parent 4263647288
commit ebc2eb87ca

View File

@ -254,11 +254,10 @@ func (i *InstanceManager) InteractiveTerminal(ctx context.Context, serverId stri
Name(serverId).
SubResource("attach").
VersionedParams(&corev1.PodAttachOptions{
Container: "server",
Stdin: true,
Stdout: true,
Stderr: true,
TTY: true,
Stdin: true,
Stdout: true,
Stderr: true,
TTY: true,
}, clientgoscheme.ParameterCodec)
executor, err := remotecommand.NewSPDYExecutor(i.restCfg, "POST", req.URL())