mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-18 13:21:00 +02:00
/exec API: drop session reconnection support (#487)
This commit is contained in:
@@ -71,7 +71,6 @@ type ExecSessionOptions struct {
|
||||
Env map[string]string
|
||||
Workdir string
|
||||
WaitSeconds uint16
|
||||
Session string
|
||||
}
|
||||
|
||||
func (service *VMsService) Create(ctx context.Context, vm *v1.VM) error {
|
||||
@@ -253,9 +252,6 @@ func (service *VMsService) ExecSession(
|
||||
if options.Workdir != "" {
|
||||
params["workdir"] = options.Workdir
|
||||
}
|
||||
if options.Session != "" {
|
||||
params["session"] = options.Session
|
||||
}
|
||||
|
||||
return service.client.wsRequestRaw(ctx, fmt.Sprintf("vms/%s/exec", url.PathEscape(name)),
|
||||
params)
|
||||
|
||||
Reference in New Issue
Block a user