Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

fix(cli): honor runner install -platform arg #4699

Merged
merged 1 commit into from
May 11, 2023

Conversation

jgwhite
Copy link
Contributor

@jgwhite jgwhite commented May 11, 2023

Currently we’re only assigning a value to runnerPlatform if c.platform is empty, leading to the following bug:

$ waypoint runner install -platform=docker
! Error installing runner into "": unsupported platform

This patch ensures we use the given value for c.platform.

$ waypoint runner install -platform=docker
✓ Finished connecting to: host.docker.internal:9701

@jgwhite jgwhite added bug Something isn't working core/cli labels May 11, 2023
@jgwhite jgwhite self-assigned this May 11, 2023
@jgwhite jgwhite requested a review from a team as a code owner May 11, 2023 21:22
Copy link
Member

@briancain briancain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh noooo, good find 🙈

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/0.11.x bug Something isn't working core/cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants