Skip to content

cc_snap: apply validation to snap.commands properties#364

Merged
blackboxsw merged 2 commits into
canonical:masterfrom
OddBloke:schema
May 18, 2020
Merged

cc_snap: apply validation to snap.commands properties#364
blackboxsw merged 2 commits into
canonical:masterfrom
OddBloke:schema

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke commented May 13, 2020

Specifically, ensure that given values are either strings, or arrays of strings.

@OddBloke OddBloke marked this pull request as ready for review May 18, 2020 15:45
@OddBloke
Copy link
Copy Markdown
Collaborator Author

I think this is ready for review as-is. @blackboxsw identified a bug in our annotation code when testing this last week, but that bug is not introduced by this PR. (I'll file that bug in a minute.)

@OddBloke
Copy link
Copy Markdown
Collaborator Author

Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

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

When I resolved my own invalid YAML issues this looks like it works great

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.

2 participants