Skip to content

Commit

Permalink
[202111][sonic-yang] fix the feature state type (#9587) (#9778)
Browse files Browse the repository at this point in the history
- Why I did it
The feature state can be a jinja template, like in this file - https://github.com/Azure/sonic-buildimage/blob/master/files/build_templates/init_cfg.json.j2#L39.
Without this change it is not possible to validate a configuration file.

- How I did it
Relaxes the constraint on feature state. Feature state leaf can be any string.

- How to verify it
Run UT.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
  • Loading branch information
stepanblyschak authored Jan 28, 2022
1 parent e4239f8 commit fcdb3f2
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit fcdb3f2

Please sign in to comment.