summaryrefslogtreecommitdiff
path: root/pkg/machine/fcos.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-26 10:13:08 -0400
committerGitHub <noreply@github.com>2021-08-26 10:13:08 -0400
commit18da5b0bf6d83e31a3db534068af367816349cf0 (patch)
tree2afeb5517d178f0708923982f9330bced93dc709 /pkg/machine/fcos.go
parent54e0afffe7dd8e5ab7daa75de2f06331cd78dd48 (diff)
parent3f22e529644aad8e4b763564c9ef98a3cbdae4fc (diff)
downloadpodman-18da5b0bf6d83e31a3db534068af367816349cf0.tar.gz
podman-18da5b0bf6d83e31a3db534068af367816349cf0.tar.bz2
podman-18da5b0bf6d83e31a3db534068af367816349cf0.zip
Merge pull request #11208 from ashley-cui/streams
[NO TESTS NEEDED] Allow setting of machine stream and image path from containers.conf
Diffstat (limited to 'pkg/machine/fcos.go')
-rw-r--r--pkg/machine/fcos.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/fcos.go b/pkg/machine/fcos.go
index 49ec01e67..85cedcd5a 100644
--- a/pkg/machine/fcos.go
+++ b/pkg/machine/fcos.go
@@ -24,8 +24,8 @@ type FcosDownload struct {
Download
}
-func NewFcosDownloader(vmType, vmName string) (DistributionDownload, error) {
- info, err := getFCOSDownload()
+func NewFcosDownloader(vmType, vmName, imageStream string) (DistributionDownload, error) {
+ info, err := getFCOSDownload(imageStream)
if err != nil {
return nil, err
}