Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
project0 committed Sep 30, 2018
1 parent 38af069 commit 8144527
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 @@ -222,13 +222,13 @@ func main() {
}
}
if fileKey != "" {
err := client.WriteCA(cert, fileKey)
err := client.WriteKey(cert, fileKey)
if err != nil {
return err
}
}
if fileBundle != "" {
err := client.WriteCA(cert, fileBundle)
err := client.WriteBundle(cert, fileBundle)
if err != nil {
return err
}
Expand Down

0 comments on commit 8144527

Please sign in to comment.