Skip to content

Commit

Permalink
chance device pattern value_list to values
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbalogh committed Jan 15, 2021
1 parent c4ec1e1 commit 581094a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions bundler.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def _get_schema_object_from_file(self, base_dir, schema_path):
return schema_object

def _get_inline_ref(self, base_dir, filename, inline_key):
import jsonpath_ng
filename = os.path.join(base_dir, filename)
filename = os.path.abspath(os.path.normpath(filename))
base_dir = os.path.dirname(filename)
Expand Down
4 changes: 2 additions & 2 deletions device/patterns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ components:
properties:
choice:
type: string
enum: [value, value_list, increment, decrement]
enum: [value, values, increment, decrement]
value:
type: string
value_list:
values:
type: array
items:
type: string
Expand Down

0 comments on commit 581094a

Please sign in to comment.