Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1044 from cloudflare/cbroglie/selfsign
Fix bug causing selfsign to ignore the default profile
  • Loading branch information
cbroglie committed Oct 28, 2019
2 parents 1a911ca + ac360f2 commit 40f4f51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/selfsign/selfsign.go
Expand Up @@ -87,6 +87,9 @@ func selfSignMain(args []string, c cli.Config) (err error) {
if c.Profile != "" && c.CFG.Signing.Profiles != nil {
profile = c.CFG.Signing.Profiles[c.Profile]
}
if profile == nil {
profile = c.CFG.Signing.Default
}
}

if profile == nil {
Expand Down

0 comments on commit 40f4f51

Please sign in to comment.