fix: added yaml tag to prevent marshaler from crashing

This commit is contained in:
David Allen 2024-12-11 08:57:24 -07:00
parent b6c3533327
commit 10ed21c5c1
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -16,7 +16,7 @@ import (
// used in generator plugins to fetch data when it is needed to substitute // used in generator plugins to fetch data when it is needed to substitute
// values for the Jinja templates used. // values for the Jinja templates used.
type SmdClient struct { type SmdClient struct {
http.Client `json:"-"` http.Client `json:"-" yaml:"-"`
Host string `yaml:"host"` Host string `yaml:"host"`
Port int `yaml:"port"` Port int `yaml:"port"`
AccessToken string `yaml:"access-token"` AccessToken string `yaml:"access-token"`