Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Update client creation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Marton6 committed Dec 23, 2019
1 parent 27ebcca commit 98c8239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/secrethub/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func ExampleNewClient() {
}

// use the client
_, err = client.Repos().Create("workspace/repo")
_, err = client.Secrets().ReadString("workspace/repo/secret")
if err != nil {
log.Fatal(err)
}
Expand All @@ -34,7 +34,7 @@ func ExampleNewClient_aws() {
}

// use the client
_, err = client.Repos().Create("workspace/repo")
_, err = client.Secrets().ReadString("workspace/repo/secret")
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 98c8239

Please sign in to comment.