Skip to content

Commit 40e55b5

Browse files
authored
Merge pull request #55578 from meaksh/master-use-checksums-args-in-postgres.datadir_init
[master] Use "checksums" args when calling "postgres.datadir_init"
2 parents f25ba4f + f3a8bc9 commit 40e55b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

salt/modules/postgres.py

+1
Original file line numberDiff line numberDiff line change
@@ -3151,6 +3151,7 @@ def datadir_init(name,
31513151
password=password,
31523152
encoding=encoding,
31533153
locale=locale,
3154+
checksums=checksums,
31543155
runas=runas)
31553156
return ret['retcode'] == 0
31563157

tests/unit/modules/test_postgres.py

+1
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,7 @@ def test_datadir_init(self):
14661466
locale=None,
14671467
password='test',
14681468
runas='postgres',
1469+
checksums=False,
14691470
user='postgres',
14701471
)
14711472
self.assertTrue(ret)

0 commit comments

Comments
 (0)