Skip to content

Commit 40f4f51

Browse files
authored
Merge pull request #1044 from cloudflare/cbroglie/selfsign
Fix bug causing selfsign to ignore the default profile
2 parents 1a911ca + ac360f2 commit 40f4f51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/selfsign/selfsign.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ func selfSignMain(args []string, c cli.Config) (err error) {
8787
if c.Profile != "" && c.CFG.Signing.Profiles != nil {
8888
profile = c.CFG.Signing.Profiles[c.Profile]
8989
}
90+
if profile == nil {
91+
profile = c.CFG.Signing.Default
92+
}
9093
}
9194

9295
if profile == nil {

0 commit comments

Comments
 (0)