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

Commit

Permalink
fc: update comments for startSandbox
Browse files Browse the repository at this point in the history
The comment didn't reflect what the function does. Updated accordingly.

Fixes: #2277

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
  • Loading branch information
Eric Ernst committed Nov 26, 2019
1 parent d054556 commit 0697124
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions virtcontainers/fc.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (s *firecrackerState) set(state vmmState) {
s.state = state
}

// firecracker is an Hypervisor interface implementation for the firecracker hypervisor.
// firecracker is an Hypervisor interface implementation for the firecracker VMM.
type firecracker struct {
id string //Unique ID per pod. Normally maps to the sandbox id
vmPath string //All jailed VM assets need to be under this
Expand Down Expand Up @@ -713,8 +713,8 @@ func (fc *firecracker) fcStartVM() error {
}

// startSandbox will start the hypervisor for the given sandbox.
// In the context of firecracker, this will start the hypervisor,
// for configuration, but not yet start the actual virtual machine
// In the context of firecracker, this will start the vmm,
// for configuration and then start the actual virtual machine.
func (fc *firecracker) startSandbox(timeout int) error {
span, _ := fc.trace("startSandbox")
defer span.Finish()
Expand Down

0 comments on commit 0697124

Please sign in to comment.