resources, yamlgraph: Drop the kind capitalization
This stopped making sense now that we have a resource with two primary capitals. It was just a silly formatting hack anyways. Welcome kv!
This commit is contained in:
@@ -87,7 +87,7 @@ func (obj *HostnameRes) Validate() error {
|
||||
|
||||
// Init runs some startup code for this resource.
|
||||
func (obj *HostnameRes) Init() error {
|
||||
obj.BaseRes.kind = "Hostname"
|
||||
obj.BaseRes.kind = "hostname"
|
||||
if obj.PrettyHostname == "" {
|
||||
obj.PrettyHostname = obj.Hostname
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user