Fixed panic when setting --cacert from invalid client

This commit is contained in:
David Allen 2024-08-27 14:30:03 -06:00
parent 057ff7bdef
commit 3b297351ec
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
2 changed files with 14 additions and 2 deletions

View file

@ -16,6 +16,10 @@ type SmdClient struct {
Xname string
}
func (c SmdClient) Init() {
c.Client = &http.Client{}
}
func (c SmdClient) Name() string {
return "smd"
}