Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Mar 11, 2024
1 parent 059021e commit c14cde3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flow/alerting/email_alert_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package alerting

import (
"context"
"github.com/PeerDB-io/peer-flow/shared/aws_common"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ses"
"github.com/aws/aws-sdk-go-v2/service/ses/types"

"github.com/PeerDB-io/peer-flow/peerdbenv"
"github.com/PeerDB-io/peer-flow/shared/aws_common"
)

type EmailAlertSender interface {
Expand Down
2 changes: 1 addition & 1 deletion flow/shared/aws_common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package aws_common

import (
"context"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/config"
)
Expand All @@ -17,5 +18,4 @@ func LoadSdkConfig(ctx context.Context, region *string) (*aws.Config, error) {
return nil, err
}
return &sdkConfig, nil

}
3 changes: 2 additions & 1 deletion flow/shared/telemetry/sns_message_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import (
"context"
"crypto/sha256"
"encoding/hex"
"github.com/PeerDB-io/peer-flow/shared/aws_common"
"strings"
"unicode"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/sns"
"github.com/aws/aws-sdk-go-v2/service/sns/types"
"go.temporal.io/sdk/activity"

"github.com/PeerDB-io/peer-flow/shared/aws_common"
)

type SNSMessageSender interface {
Expand Down

0 comments on commit c14cde3

Please sign in to comment.