From 738b1b635154bfdb45a8cf4df64f7cd418e7f0e9 Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Wed, 28 Aug 2024 14:30:00 +0100 Subject: [PATCH] Update sync.go --- internal/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sync.go b/internal/sync.go index b7a0662..76b5cf1 100644 --- a/internal/sync.go +++ b/internal/sync.go @@ -393,7 +393,7 @@ func (s *syncGSuite) SyncGroupsUsers(queryGroups string, queryUsers string) erro log.Info("creating user") _, err := s.aws.CreateUser(awsUser) if err != nil { - errHTTP := new(aws.ErrHttpNotOK) + errHTTP := new(aws.ErrHTTPNotOK) if errors.As(err, &errHTTP) && errHTTP.StatusCode == 409 { log.WithField("user", awsUser.Username).Warn("user already exists") continue