Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley committed Oct 24, 2024
1 parent 958e6e1 commit a2bb06f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion relay/dataplane/s3_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func NewS3Client(

sess, err := session.NewSession(config.AWSConfig)
if err != nil {
cancel()
return nil, err
}
svc := s3.New(sess)
Expand Down Expand Up @@ -145,7 +146,7 @@ func (s *s3Client) createBucketIfNeeded() error {
if err == nil {
// Bucket exists
return nil
} else if s.config.AutoCreateBucket == false {
} else if !s.config.AutoCreateBucket {
return err
}

Expand Down

0 comments on commit a2bb06f

Please sign in to comment.