mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 10:48:49 +02:00
Improve language.
This commit is contained in:
parent
995ab18e7b
commit
77de6d90bf
2 changed files with 2 additions and 2 deletions
|
@ -5158,7 +5158,7 @@ PATHS = {
|
|||
'protocol': KeyInfo(default='all'),
|
||||
'src-address': KeyInfo(),
|
||||
'src-port': KeyInfo(default='any'),
|
||||
# The template field can't really be changed once the item is
|
||||
# The template field ca not really be changed once the item is
|
||||
# created. This config captures the behavior best as it can
|
||||
# i.e. template=yes is shown, template=no is hidden.
|
||||
'template': KeyInfo(can_disable=True, remove_value=False),
|
||||
|
|
|
@ -77,7 +77,7 @@ def _ros_api_connect(module, username, password, host, port, use_tls, force_no_c
|
|||
elif not validate_cert_hostname:
|
||||
ctx.check_hostname = False
|
||||
else:
|
||||
# Since librouteros doesn't pass server_hostname,
|
||||
# Since librouteros does not pass server_hostname,
|
||||
# we have to do this ourselves:
|
||||
def wrap_context(*args, **kwargs):
|
||||
kwargs.pop('server_hostname', None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue