Skip to content

Commit

Permalink
Consistently return pointer to struct to match interface signature
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice committed Jul 19, 2024
1 parent 6d0c780 commit 33b19e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package_stemcell/factory/packager_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (f *PackagerFactory) Packager(sourceConfig config.SourceConfig, outputConfi
case config.VCENTER:
runner := &iaas_cli.GovcRunner{}
client := iaas_clients.NewVcenterClient(sourceConfig.Username, sourceConfig.Password, sourceConfig.URL, sourceConfig.CaCertFile, runner)
vCenterPackager := packagers.VCenterPackager{SourceConfig: sourceConfig, OutputConfig: outputConfig, Client: client}
vCenterPackager := &packagers.VCenterPackager{SourceConfig: sourceConfig, OutputConfig: outputConfig, Client: client}
return vCenterPackager, nil
case config.VMDK:
options := package_parameters.VmdkPackageParameters{}
Expand Down

0 comments on commit 33b19e6

Please sign in to comment.