You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the SRE Bot's commands functions each validate that the bot is in an incident channel to perform commands.
This validation could be done once only when the incident_helper is invoked to validate that the bot is actually called from an incident channel, if it is necessary.
Right now, the SRE Bot's commands functions each validate that the bot is in an incident channel to perform commands.
This validation could be done once only when the incident_helper is invoked to validate that the bot is actually called from an incident channel, if it is necessary.
sre-bot/app/modules/incident/incident_helper.py
Line 60 in 64c5abd
This way, validation is performed at the moment of calling the command instead of during the various tasks required to be performed.
The text was updated successfully, but these errors were encountered: