Skip to content

Commit

Permalink
fix: actually change the correct config object
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Linkhorst committed Apr 18, 2018
1 parent 4dd4dec commit 790a782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func NewAWSProvider(domainFilter DomainFilter, zoneIDFilter ZoneIDFilter, zoneTy

if assumeRole != "" {
log.Infof("Assuming role: %s", assumeRole)
config.WithCredentials(stscreds.NewCredentials(session, assumeRole))
session.Config.WithCredentials(stscreds.NewCredentials(session, assumeRole))
}

provider := &AWSProvider{
Expand Down

0 comments on commit 790a782

Please sign in to comment.