mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 02:14:29 +00:00
hyperstart_agent: fix comments
As @egernst pointed out, it should be hyperstart_agent instead of cc-agent. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -798,41 +798,41 @@ func (h *hyper) sendCmd(proxyCmd hyperstartProxyCmd) (interface{}, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) onlineCPUMem(cpus uint32) 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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) check() error {
|
func (h *hyper) check() error {
|
||||||
// cc-agent does not support check
|
// hyperstart-agent does not support check
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) waitProcess(c *Container, processID string) (int32, error) {
|
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
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) winsizeProcess(c *Container, processID string, height, width uint32) error {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) writeProcessStdin(c *Container, ProcessID string, data []byte) (int, error) {
|
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
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) closeProcessStdin(c *Container, ProcessID string) error {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) readProcessStdout(c *Container, processID string, data []byte) (int, error) {
|
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
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *hyper) readProcessStderr(c *Container, processID string, data []byte) (int, error) {
|
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
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user