Skip to content

Commit

Permalink
output spell fixes (#45805)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Martin <[email protected]>
  • Loading branch information
stevenGravy and Steven Martin authored Aug 24, 2024
1 parent 7cd7466 commit 6f3aa92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions integrations/access/opsgenie/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,13 @@ func (a *App) getNotifySchedulesAndTeams(ctx context.Context, req types.AccessRe
scheduleAnnotationKey := types.TeleportNamespace + types.ReqAnnotationNotifySchedulesLabel
schedules, err = common.GetServiceNamesFromAnnotations(req, scheduleAnnotationKey)
if err != nil {
log.Debugf("No schedules to notifiy in %s", scheduleAnnotationKey)
log.Debugf("No schedules to notify in %s", scheduleAnnotationKey)
}

teamAnnotationKey := types.TeleportNamespace + types.ReqAnnotationTeamsLabel
teams, err = common.GetServiceNamesFromAnnotations(req, teamAnnotationKey)
if err != nil {
log.Debugf("No teams to notifiy in %s", teamAnnotationKey)
log.Debugf("No teams to notify in %s", teamAnnotationKey)
}

if len(schedules) == 0 && len(teams) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion lib/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const (
dynamicLabelCheckPeriod = time.Hour
dynamicLabelAlertID = "dynamic-labels-in-deny-rules"
dynamicLabelAlertMessage = "One or more roles has deny rules that include dynamic/ labels. " +
"This is not recommended due to the volatitily of dynamic/ labels and is not allowed for new roles. " +
"This is not recommended due to the volatility of dynamic/ labels and is not allowed for new roles. " +
"(hint: use 'tctl get roles' to find roles that need updating)"
)

Expand Down

0 comments on commit 6f3aa92

Please sign in to comment.