Skip to content

Conversation

@nicklewis
Copy link
Contributor

@nicklewis nicklewis commented May 7, 2020

bolt plan show <plan> was failing when passed a project-level
plan due to the fact that the project path is a Pathname rather than a
string, unlike most modules. We now convert the path to a string in
get_plan_info so that any code interacting with the plan data can
treat it as if it came from any other module.

!bug

  • Fix bolt plan show <plan> for project-level plans
    (#1799)

This command was throwing errors due to a type mismatch that is now
resolved.

@nicklewis nicklewis requested a review from a team as a code owner May 7, 2020 17:55
`bolt plan show <plan>` was failing when passed a project-level
plan due to the fact that the project path is a Pathname rather than a
string, unlike most modules. We now convert the path to a string in
`get_plan_info` so that any code interacting with the plan data can
treat it as if it came from any other module.

!bug

  * **Fix `bolt plan show <plan>` for project-level plans**
    ([puppetlabs#1799](puppetlabs#1799))

  This command was throwing errors due to a type mismatch that is now
  resolved.
@nicklewis nicklewis force-pushed the bolt-plan-show-project-plans branch from 58c059a to 9912525 Compare May 7, 2020 17:55
@puppetcla
Copy link

CLA signed by all contributors.

@beechtom beechtom merged commit 347f590 into puppetlabs:master May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants