Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas committed Aug 18, 2020
1 parent e26f94c commit dd1fb83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion github/example_organization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func checkErr(err error) {
func ExampleOrganizationsClient_Get() {
// Create a new client
ctx := context.Background()
c, err := github.NewClient(ctx)
c, err := github.NewClient()
checkErr(err)

// Get public information about the fluxcd organization
Expand Down
2 changes: 1 addition & 1 deletion github/example_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
func ExampleOrgRepositoriesClient_Get() {
// Create a new client
ctx := context.Background()
c, err := github.NewClient(ctx)
c, err := github.NewClient()
checkErr(err)

// Parse the URL into an OrgRepositoryRef
Expand Down

0 comments on commit dd1fb83

Please sign in to comment.