Remove unused field

This commit is contained in:
John Gardiner Myers 2021-06-12 16:05:53 -07:00
parent b71ba1d566
commit 09259ad30f
2 changed files with 0 additions and 13 deletions

View File

@ -51,16 +51,6 @@ func (s *Server) getNodeConfig(ctx context.Context, req *nodeup.BootstrapRequest
nodeConfig.ClusterFullConfig = string(b)
}
{
p := s.configBase.Join("instancegroup", instanceGroupName)
b, err := p.ReadFile()
if err != nil {
return nil, fmt.Errorf("error loading InstanceGroup %q: %v", p, err)
}
nodeConfig.InstanceGroupConfig = string(b)
}
{
p := s.configBase.Join("igconfig", "node", instanceGroupName, "auxconfig.yaml")

View File

@ -41,9 +41,6 @@ type BootstrapResponse struct {
// NodeConfig holds configuration needed to boot a node (without the kops state store)
type NodeConfig struct {
// InstanceGroupConfig holds the configuration for the node's instance group
InstanceGroupConfig string `json:"instanceGroupConfig,omitempty"`
// ClusterFullConfig holds the configuration for the cluster
ClusterFullConfig string `json:"clusterFullConfig,omitempty"`