Skip to content

Commit

Permalink
fix populator profile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Abrar-Ahmed7 committed Feb 7, 2023
1 parent 0ad022e commit b942a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/localstackpopulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var lspop = &cobra.Command{
log.Fatal("err: ", err)
}

sess, err := config.GetSession("test", "us-east-1", cfg.AwsConfig)
sess, err := config.GetSession(profile, region, cfg.AwsConfig)
if err != nil {
log.Fatal("err: ", err)
}
Expand All @@ -41,7 +41,7 @@ var lspop = &cobra.Command{

for i := 0; i < 4; i++ {
gofakeit.Seed(0)
sess, err := config.GetSession("test", regions[gofakeit.Number(0, len(regions)-1)], cfg.AwsConfig)
sess, err := config.GetSession(profile, regions[gofakeit.Number(0, len(regions)-1)], cfg.AwsConfig)
if err != nil {
log.Fatal("err: ", err)
}
Expand Down

0 comments on commit b942a1b

Please sign in to comment.