@@ -22,8 +22,8 @@ const (
2222 unconfiguredIgnitionFilename = "unconfigured-agent.ign"
2323)
2424
25- // UnconfiguredIgnition is an asset that generates the agent installer base ignition filea
26- // which excludes any cluster configuration files .
25+ // UnconfiguredIgnition is an asset that generates the agent installer unconfigured
26+ // ignition file which excludes any cluster configuration.
2727type UnconfiguredIgnition struct {
2828 Config * igntypes.Config
2929 CPUArch string
@@ -35,7 +35,7 @@ func (a *UnconfiguredIgnition) Name() string {
3535 return "Agent Installer Unconfigured Ignition"
3636}
3737
38- // Dependencies returns the assets on which the Ignition asset depends.
38+ // Dependencies returns the assets on which the UnconfiguredIgnition asset depends.
3939func (a * UnconfiguredIgnition ) Dependencies () []asset.Asset {
4040 return []asset.Asset {
4141 & manifests.InfraEnv {},
@@ -47,7 +47,7 @@ func (a *UnconfiguredIgnition) Dependencies() []asset.Asset {
4747 }
4848}
4949
50- // Generate generates the agent installer base ignition.
50+ // Generate generates the agent installer unconfigured ignition.
5151func (a * UnconfiguredIgnition ) Generate (dependencies asset.Parents ) error {
5252 infraEnvAsset := & manifests.InfraEnv {}
5353 clusterImageSetAsset := & manifests.ClusterImageSet {}
@@ -176,7 +176,7 @@ func (a *UnconfiguredIgnition) PersistToFile(directory string) error {
176176func (a * UnconfiguredIgnition ) generateFile (filename string ) error {
177177 data , err := ignition .Marshal (a .Config )
178178 if err != nil {
179- return errors .Wrap (err , "failed to Marshal Ignition config" )
179+ return errors .Wrap (err , "failed to Marshal UnconfiguredIgnition config" )
180180 }
181181 a .File = & asset.File {
182182 Filename : filename ,
0 commit comments