Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
hyperstart_agent: fix comments
Browse files Browse the repository at this point in the history
As @egernst pointed out, it should be hyperstart_agent instead of
cc-agent.

Signed-off-by: Peng Tao <[email protected]>
  • Loading branch information
bergwolf committed May 5, 2018
1 parent 1bb6ab9 commit 410e5e6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions virtcontainers/hyperstart_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 410e5e6

Please sign in to comment.