diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-25 11:12:33 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-25 12:24:31 +0000 |
| commit | 654e322feaef7f96d84054d9da9194a52a096468 (patch) | |
| tree | 743ba63240bdc1ec06b7bd287ad5a62ddb302677 | |
| parent | 115165ffb1aa821fec75f7229ab4e81e20584745 (diff) | |
vm/gvisor: make stdin address less special
Make it also "host:port" form ("stdin:0").
| -rw-r--r-- | vm/gvisor/gvisor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index 6d26da5bb..44e3db575 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go @@ -272,7 +272,7 @@ func (inst *instance) Forward(port int) (string, error) { return "", fmt.Errorf("forward port is already setup") } inst.port = port - return "stdin", nil + return "stdin:0", nil } func (inst *instance) Copy(hostSrc string) (string, error) { |
