Skip to content

Commit

Permalink
fix: skip lint check for a few deprecated method usages
Browse files Browse the repository at this point in the history
  • Loading branch information
njvrzm committed Nov 20, 2024
1 parent e304d77 commit e610981
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/plugin/twinmaker/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func NewTwinMakerClient(settings models.TwinMakerDataSourceSetting) (TwinMakerCl
}

twinMakerService := func() (*iottwinmaker.IoTTwinMaker, error) {
session, err := sessions.GetSession(noEndpointSessionConfig)
session, err := sessions.GetSession(noEndpointSessionConfig) //nolint:staticcheck
if err != nil {
return nil, err
}
Expand All @@ -103,7 +103,7 @@ func NewTwinMakerClient(settings models.TwinMakerDataSourceSetting) (TwinMakerCl
if writerSessionConfig.Settings.AssumeRoleARN == "" {
return nil, fmt.Errorf("writer role not configured")
}
session, err := sessions.GetSession(writerSessionConfig)
session, err := sessions.GetSession(writerSessionConfig) //nolint:staticcheck
if err != nil {
return nil, err
}
Expand All @@ -114,7 +114,7 @@ func NewTwinMakerClient(settings models.TwinMakerDataSourceSetting) (TwinMakerCl
}

tokenService := func() (*sts.STS, error) {
session, err := sessions.GetSession(stsSessionConfig)
session, err := sessions.GetSession(stsSessionConfig) //nolint:staticcheck
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e610981

Please sign in to comment.