Skip to content

Commit

Permalink
add comment to separate two "halves" of function
Browse files Browse the repository at this point in the history
Co-authored-by: cam-schultz <[email protected]>
Signed-off-by: F. Eugene Aumson <[email protected]>
  • Loading branch information
feuGeneA and cam-schultz authored Jul 26, 2024
1 parent 79c82b2 commit 97133cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion messages/teleporter/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ func (m *messageHandler) ShouldSendMessage(destinationClient vms.DestinationClie
)
return false, nil
}

// Dispatch to the external decider service. If the service is unavailable or returns
// an error, then use the decision that has already been made, i.e. return true
decision, err := m.getShouldSendMessageFromDecider()
if err != nil {
m.logger.Warn(
Expand Down

0 comments on commit 97133cd

Please sign in to comment.