Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Mar 20, 2023
1 parent 53646be commit 19b5046
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/component/fake/shipper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ func (f *fakeShipperInput) Unit() *client.Unit {

func (f *fakeShipperInput) Update(u *client.Unit) error {
expected, _, config := u.Expected()

if expected == client.UnitStateStopped {
// agent is requesting this to stop
f.logger.Debug().Str("state", client.UnitStateStopping.String()).Str("message", stoppingMsg).Msg("updating unit state")
Expand Down

0 comments on commit 19b5046

Please sign in to comment.