Skip to content

Commit

Permalink
fix if expiry not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
nothinux committed Mar 5, 2022
1 parent 8508ac7 commit fceb838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/certify/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ func parseArgs(args []string) ([]net.IP, []string, string, time.Time) {
}
}

if expiry.IsZero() {
expiry = parseExpiry("")
}

return iplist, dnsnames, cn, expiry
}

Expand Down

0 comments on commit fceb838

Please sign in to comment.