Skip to content

Commit 913c9b3

Browse files
author
Jacek Iżykowski
committed
juniper_junos_config: update doc
Change Juniper#427 modified behavior of juniper_junos_config (diff is not a string anymore - it's a dict now). Behavior is now inconsistent with the documentation.
1 parent c642ff7 commit 913c9b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

library/juniper_junos_config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,10 +698,12 @@
698698
diff:
699699
description:
700700
- The configuration differences between the previous and new
701-
configurations. The value is a single multi-line string in "diff" format.
701+
configurations. The value is a dict that contains a single key named
702+
"prepared". Value associated with that key is a single multi-line string
703+
in "diff" format.
702704
returned: when I(load) or I(rollback) is specified, I(diff) is C(true), and
703705
I(return_output) is C(true).
704-
type: str
706+
type: dict
705707
diff_lines:
706708
description:
707709
- The configuration differences between the previous and new

0 commit comments

Comments
 (0)