Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helper/validation:
StringInSlice
: Single quote slice elements
The validation function's error is ambiguous when dealing with slices containing spaces. For example: ``` expected role_name to be one of [Apache Spark Administrator Synapse Credential User Synapse Administrator] ``` By changing the format verb, the error becomes more user friendly: ``` expected role_name to be one of ["Apache Spark Administrator" "Synapse Credential User" "Synapse Administrator"] ``` This fixes #464 Signed-off-by: Frank Villaro-Dixon <[email protected]>
- Loading branch information