Skip to content

Commit

Permalink
Fix a mistake in the example program, and reduce the likelihood of ch…
Browse files Browse the repository at this point in the history
…ecking in a credential.
  • Loading branch information
schmidtw committed Sep 30, 2023
1 parent f8087d3 commit 73d9463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ internal/jwtxt/cmd/example/*
internal/credentials/cmd/example/*

*.dot
*.pem
2 changes: 1 addition & 1 deletion internal/credentials/cmd/example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
panic(err)
}

caCert, err := os.ReadFile("ca.crt")
caCert, err := os.ReadFile(cli.CA)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 73d9463

Please sign in to comment.