Skip to content

Commit

Permalink
Remove now unused imon.clearStoppedIfObjectStatusAvailUp()
Browse files Browse the repository at this point in the history
Unused since 966c70b
  • Loading branch information
cvaroqui committed Aug 11, 2023
1 parent 3d4ad2c commit 4f68cef
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions daemon/imon/orchestration_placed_at.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,6 @@ func (o *imon) clearStopFailedIfDown() {
}
}

func (o *imon) clearStoppedIfObjectStatusAvailUp() {
switch o.objStatus.Avail {
case status.Up:
o.loggerWithState().Info().Msg("object avail status is up -> set done and idle, reset local expect")
o.clearStopped()
}
}

func (o *imon) clearStopped() {
o.doneAndIdle()
o.state.LocalExpect = instance.MonitorLocalExpectNone
Expand Down

0 comments on commit 4f68cef

Please sign in to comment.