Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
astha-jain committed Apr 19, 2021
1 parent 747f57e commit f332861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/IBM/go-sdk-core/v5/core"
"github.com/IBM/vpc-go-sdk/vpcclassicv1"
"github.com/IBM/vpc-go-sdk/vpcv1"
)

var URL = "https://us-south.iaas.cloud.ibm.com/v1"
Expand All @@ -15,7 +15,7 @@ var APIKey = "YOUR_KEY_here"

func main() {
// Gen1 service
_, vpcServiceErr := vpcclassicv1.NewVpcClassicV1(&vpcclassicv1.VpcClassicV1Options{
_, vpcServiceErr := vpcv1.NewVpcV1(&vpcv1.VpcV1Options{
URL: URL,
Authenticator: &core.IamAuthenticator{
ApiKey: APIKey,
Expand Down

0 comments on commit f332861

Please sign in to comment.