Skip to content

Parent pico logic #128

@burdettadam

Description

@burdettadam

devtools currently uses the returned error string from pci list parent function as logic to whether a pico is a child or not. Wrangler would like to handle that error by setting status to false and returning an empty array. devtools needs to have its logic changed to handle this. Devtools should have a function to do this so there wont be so much copy paste logic.
this update will need to coincide with wranglers error handling update to prevent down time.
steps to success.
-create isParent function that returns true when pico is a parent and false otherwise, and depeands on wrangler corrected empty array return for parent check.
-track down all logic for parent pico check and replace with isParent.
-pull request with note to update wrangler.
-update wrangler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions