mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Fixed panic when setting --cacert from invalid client
This commit is contained in:
parent
057ff7bdef
commit
3b297351ec
2 changed files with 14 additions and 2 deletions
|
|
@ -16,6 +16,10 @@ type SmdClient struct {
|
|||
Xname string
|
||||
}
|
||||
|
||||
func (c SmdClient) Init() {
|
||||
c.Client = &http.Client{}
|
||||
}
|
||||
|
||||
func (c SmdClient) Name() string {
|
||||
return "smd"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue