From 6f3aa925fab864d757edac989746f9182c08db5c Mon Sep 17 00:00:00 2001 From: Steven Martin Date: Sat, 24 Aug 2024 11:15:22 -0400 Subject: [PATCH] output spell fixes (#45805) Co-authored-by: Steven Martin --- integrations/access/opsgenie/app.go | 4 ++-- lib/auth/auth.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integrations/access/opsgenie/app.go b/integrations/access/opsgenie/app.go index 1a12c0e6de3be..4301a57e51d88 100644 --- a/integrations/access/opsgenie/app.go +++ b/integrations/access/opsgenie/app.go @@ -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 { diff --git a/lib/auth/auth.go b/lib/auth/auth.go index 702d3102721fc..62c5b19724c8a 100644 --- a/lib/auth/auth.go +++ b/lib/auth/auth.go @@ -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)" )