Skip to content

Commit 33a913f

Browse files
committed
machine: remove StartInstance
StartInstance is not tested and not called by firectl or firecracker-containerd. Removing it, but we can add it back if a use-case surfaces. Signed-off-by: Samuel Karp <[email protected]>
1 parent 56b54d1 commit 33a913f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

machine.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -518,11 +518,6 @@ func (m *Machine) addVsock(ctx context.Context, dev VsockDevice) error {
518518
return nil
519519
}
520520

521-
// StartInstance starts the Firecracker microVM
522-
func (m *Machine) StartInstance(ctx context.Context) error {
523-
return m.startInstance(ctx)
524-
}
525-
526521
func (m *Machine) startInstance(ctx context.Context) error {
527522
info := models.InstanceActionInfo{
528523
ActionType: models.InstanceActionInfoActionTypeInstanceStart,

0 commit comments

Comments
 (0)