def validate_priority(namespace):
    'Validates the node pool priority string.'
    if (namespace.priority is not None):
        if (namespace.priority == ''):
            return
        if ((namespace.priority != 'Low') and (namespace.priority != 'Regular')):
            raise CLIError('--priority can only be Low or Regular')
Validates the node pool priority string.
def validate_priority(namespace):
    
    if (namespace.priority is not None):
        if (namespace.priority == ):
            return
        if ((namespace.priority != 'Low') and (namespace.priority != 'Regular')):
            raise CLIError('--priority can only be Low or Regular')