Commit 6d61128
committed
Repair Git state comment formatting
The _uptodate() function already invokes _format_comments() on the
comments passed, avoid duplicate invocations of _format_comments()
which caused the joined string result from being joined with dots a
second time, effectively placing a dot after every character in the
resulting comment output.
Also amend the test suite to cover these output conditions.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>1 parent 21e99f6 commit 6d61128
File tree
3 files changed
+16
-6
lines changed- changelog
- salt/states
- tests/integration/states
3 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
953 | | - | |
954 | | - | |
| 952 | + | |
955 | 953 | | |
956 | 954 | | |
957 | 955 | | |
| |||
1181 | 1179 | | |
1182 | 1180 | | |
1183 | 1181 | | |
1184 | | - | |
| 1182 | + | |
1185 | 1183 | | |
1186 | 1184 | | |
1187 | 1185 | | |
| |||
1291 | 1289 | | |
1292 | 1290 | | |
1293 | 1291 | | |
1294 | | - | |
| 1292 | + | |
1295 | 1293 | | |
1296 | 1294 | | |
1297 | 1295 | | |
| |||
1685 | 1683 | | |
1686 | 1684 | | |
1687 | 1685 | | |
1688 | | - | |
| 1686 | + | |
1689 | 1687 | | |
1690 | 1688 | | |
1691 | 1689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
298 | 309 | | |
299 | 310 | | |
300 | 311 | | |
| |||
0 commit comments