Merge pull request #11749 from johngmyers/dead-field

Remove unused field
This commit is contained in:
Kubernetes Prow Robot 2021-06-12 22:13:02 -07:00 committed by GitHub
commit f3a87397fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"`