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). Name(serverId).
SubResource("attach"). SubResource("attach").
VersionedParams(&corev1.PodAttachOptions{ VersionedParams(&corev1.PodAttachOptions{
Container: "server", Stdin: true,
Stdin: true, Stdout: true,
Stdout: true, Stderr: true,
Stderr: true, TTY: true,
TTY: true,
}, clientgoscheme.ParameterCodec) }, clientgoscheme.ParameterCodec)
executor, err := remotecommand.NewSPDYExecutor(i.restCfg, "POST", req.URL()) executor, err := remotecommand.NewSPDYExecutor(i.restCfg, "POST", req.URL())