We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa81164 commit a638d8cCopy full SHA for a638d8c
plugins/modules/node.py
@@ -141,7 +141,7 @@ def is_valid_url(url):
141
142
def is_valid_tag(tag):
143
"""Return True if the tag is a non-empty uppercase alphanumeric string of max 4 chars."""
144
- return isinstance(tag, str) and tag.isalnum() and tag.isupper() and 1 < len(tag) < 4
+ return isinstance(tag, str) and tag.isalnum() and tag.isupper() and 1 <= len(tag) <= 4
145
146
147
def validate_paths(*paths):
0 commit comments