Skip to content

Commit

Permalink
FIX: Add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred78290 committed Aug 13, 2024
1 parent 910a4d8 commit d98e9da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/aws/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ func newSessionWithOptions(accessKey, secretKey, token, filename, profile, regio

cfg, err = config.LoadDefaultConfig(context.TODO(), config.WithRegion(region), config.WithCredentialsProvider(aws.NewCredentialsCache(ec2rolecreds.New())))
}

return
}

func (status *instanceStatus) Address() string {
Expand Down

0 comments on commit d98e9da

Please sign in to comment.