Skip to content

Commit 396a22d

Browse files
committed
Fix spelling for error message and logging
1 parent 551a051 commit 396a22d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/integrations/awsoidc/deployservice_iam_jointoken.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (u *upsertIAMJoinTokenRequest) CheckAndSetDefaults() error {
7777
}
7878

7979
if u.accountID == "" {
80-
return trace.BadParameter("accound id is required")
80+
return trace.BadParameter("account id is required")
8181
}
8282

8383
if u.region == "" {

lib/srv/regular/sshserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,7 @@ func (s *Server) handleX11Forward(ctx context.Context, ch ssh.Channel, req *ssh.
19511951
func (s *Server) handleSubsystem(ctx context.Context, ch ssh.Channel, req *ssh.Request, serverContext *srv.ServerContext) error {
19521952
sb, err := s.parseSubsystemRequest(ctx, req, serverContext)
19531953
if err != nil {
1954-
serverContext.Logger.WarnContext(ctx, "Failed to parse subsystem request", "requres_type", req.Type, "error", err)
1954+
serverContext.Logger.WarnContext(ctx, "Failed to parse subsystem request", "request_type", req.Type, "error", err)
19551955
return trace.Wrap(err)
19561956
}
19571957
serverContext.Logger.DebugContext(ctx, "Starting subsystem")

0 commit comments

Comments
 (0)