Skip to content

Commit

Permalink
Fix linte
Browse files Browse the repository at this point in the history
  • Loading branch information
kthomas committed Feb 3, 2024
1 parent 881cfc9 commit ed31286
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions internal/node/machine_mgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func NewMachineManager(
}

// Start the machine manager, maintaining the firecracker VM pool
func (m *MachineManager) Start() error {
func (m *MachineManager) Start() {
m.log.Info("Virtual machine manager starting")

defer func() {
Expand All @@ -119,7 +119,7 @@ func (m *MachineManager) Start() error {
for !m.stopping() {
select {
case <-m.ctx.Done():
return nil
return
default:
vm, err := createAndStartVM(m.ctx, m.config, m.log)
if err != nil {
Expand All @@ -139,8 +139,6 @@ func (m *MachineManager) Start() error {
m.t.vmCounter.Add(m.ctx, 1)
}
}

return nil
}

func (m *MachineManager) DeployWorkload(vm *runningFirecracker, request *agentapi.DeployRequest) error {
Expand Down

0 comments on commit ed31286

Please sign in to comment.