From 410e5e6abbab40646f2622ca733542d3d081c071 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Sat, 5 May 2018 09:23:46 +0800 Subject: [PATCH] hyperstart_agent: fix comments As @egernst pointed out, it should be hyperstart_agent instead of cc-agent. Signed-off-by: Peng Tao --- virtcontainers/hyperstart_agent.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/virtcontainers/hyperstart_agent.go b/virtcontainers/hyperstart_agent.go index ab9b35fbdf..dc22b05927 100644 --- a/virtcontainers/hyperstart_agent.go +++ b/virtcontainers/hyperstart_agent.go @@ -798,41 +798,41 @@ func (h *hyper) sendCmd(proxyCmd hyperstartProxyCmd) (interface{}, error) { } func (h *hyper) onlineCPUMem(cpus uint32) error { - // cc-agent uses udev to online CPUs automatically + // hyperstart-agent uses udev to online CPUs automatically return nil } func (h *hyper) check() error { - // cc-agent does not support check + // hyperstart-agent does not support check return nil } func (h *hyper) waitProcess(c *Container, processID string) (int32, error) { - // cc-agent does not support wait process + // hyperstart-agent does not support wait process return 0, nil } func (h *hyper) winsizeProcess(c *Container, processID string, height, width uint32) error { - // cc-agent does not support winsize process + // hyperstart-agent does not support winsize process return nil } func (h *hyper) writeProcessStdin(c *Container, ProcessID string, data []byte) (int, error) { - // cc-agent does not support stdin write request + // hyperstart-agent does not support stdin write request return 0, nil } func (h *hyper) closeProcessStdin(c *Container, ProcessID string) error { - // cc-agent does not support stdin close request + // hyperstart-agent does not support stdin close request return nil } func (h *hyper) readProcessStdout(c *Container, processID string, data []byte) (int, error) { - // cc-agent does not support stdout read request + // hyperstart-agent does not support stdout read request return 0, nil } func (h *hyper) readProcessStderr(c *Container, processID string, data []byte) (int, error) { - // cc-agent does not support stderr read request + // hyperstart-agent does not support stderr read request return 0, nil }