mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix 'if if' pattern in docs and comments
This commit is contained in:
parent
d9672cd206
commit
6b917bb0b6
4 changed files with 4 additions and 4 deletions
|
@ -33931,7 +33931,7 @@ and source. Than the ssh server is extended to watch the banner file in
|
|||
addition to anything it is already watching.
|
||||
.SS Extend is a Top Level Declaration
|
||||
.sp
|
||||
This means that \fBextend\fP can only be called once in an sls, if if is used
|
||||
This means that \fBextend\fP can only be called once in an sls, if it is used
|
||||
twice then only one of the extend blocks will be read. So this is WRONG:
|
||||
.INDENT 0.0
|
||||
.INDENT 3.5
|
||||
|
|
|
@ -43,7 +43,7 @@ addition to anything it is already watching.
|
|||
Extend is a Top Level Declaration
|
||||
---------------------------------
|
||||
|
||||
This means that ``extend`` can only be called once in an sls, if if is used
|
||||
This means that ``extend`` can only be called once in an sls, if it is used
|
||||
twice then only one of the extend blocks will be read. So this is WRONG:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
|
|
@ -134,7 +134,7 @@ def present(name,
|
|||
# default to encrypted passwords
|
||||
if encrypted is not False:
|
||||
encrypted = postgres._DEFAULT_PASSWORDS_ENCRYPTION
|
||||
# maybe encrypt if if not already and necessary
|
||||
# maybe encrypt if it's not already and necessary
|
||||
password = postgres._maybe_encrypt_password(name,
|
||||
password,
|
||||
encrypted=encrypted)
|
||||
|
|
|
@ -140,7 +140,7 @@ def present(name,
|
|||
# default to encrypted passwords
|
||||
if encrypted is not False:
|
||||
encrypted = postgres._DEFAULT_PASSWORDS_ENCRYPTION
|
||||
# maybe encrypt if if not already and necessary
|
||||
# maybe encrypt if it's not already and necessary
|
||||
password = postgres._maybe_encrypt_password(name,
|
||||
password,
|
||||
encrypted=encrypted)
|
||||
|
|
Loading…
Add table
Reference in a new issue