Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiujie.1 committed Dec 2, 2024
1 parent 5cdfaf5 commit 611d69b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/vendor/src/
doc
.idea
!/main.go
6 changes: 5 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
WithCredentials(credentials.NewStaticCredentials(ak, sk, "")).
WithRegion(region)

sess, _ = session.NewSession(config)
sess, err = session.NewSession(config)
if err != nil {
panic(err)
}

client = vpc.New(sess)

resp, err = client.DescribeVpcs(&vpc.DescribeVpcsInput{
Expand Down

0 comments on commit 611d69b

Please sign in to comment.