Skip to content

Commit

Permalink
config: expose node class configuration option.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell committed Jan 17, 2024
1 parent 9c97a7c commit d247db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func startClient(logger hclog.Logger, buildInfo *internalSimnode.BuildInfo, cfg
Datacenter: cfg.Node.Datacenter,
Name: nodeID,
NodePool: cfg.Node.NodePool,
NodeClass: cfg.Node.NodeClass,
HTTPAddr: "127.0.0.1:4646", // is this used? -- yes in the UI!
TLSEnabled: tlsEnabled,
Attributes: map[string]string{}, //TODO expose option? fake linux?
Expand Down Expand Up @@ -249,7 +250,6 @@ func startClient(logger hclog.Logger, buildInfo *internalSimnode.BuildInfo, cfg
"simnode_version": buildInfo.Version,
"simnode_sum": buildInfo.Sum,
},
//TODO NodeClass expose option?
CSIControllerPlugins: make(map[string]*structs.CSIInfo),
CSINodePlugins: make(map[string]*structs.CSIInfo),
HostVolumes: make(map[string]*structs.ClientHostVolumeConfig),
Expand Down

0 comments on commit d247db1

Please sign in to comment.