Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaysomani07 committed Mar 23, 2023
1 parent 73d16a6 commit 3a2defe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ func run(cmd *cobra.Command, args []string) {
profiles := []string{*profile}
region := awsS.String(os.Getenv(AWS_DEFAULT_REGION))
regions := []string{*region}
//sess, err = aws.GetSessionUsingEnvVariables(*region, *profile)
// if err != nil {
// panic(fmt.Sprintf("aws session init failed -- %v", err))
// }
cfg, err := aws.GetCfgUsingEnvVariables(profiles[0], regions[0])
if err != nil {
panic(fmt.Sprintf("aws session init failed -- %v", err))
Expand Down

0 comments on commit 3a2defe

Please sign in to comment.