relection test for comment

This commit is contained in:
Christian Goll
2022-06-30 11:22:38 +02:00
parent 9796e61678
commit bd2543d484
2 changed files with 31 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ type NodeYaml struct {
NodeConf is the datastructure which is stored on disk.
*/
type NodeConf struct {
Comment string `yaml:"comment,omitempty"`
Comment string `yaml:"comment,omitempty" lopt:"comment" comment:"Set Comment"`
ClusterName string `yaml:"cluster name,omitempty"`
ContainerName string `yaml:"container name,omitempty"`
Ipxe string `yaml:"ipxe template,omitempty"`