The populate_files function's first argument was typed as `str` but
all places that str is used in that function can also use a
pathlib.Path. Update the type of that argument to match.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
87f5a3d9a833244077cad01df92400a8b20368b9)
def populate_files(
- config_dir: str, config_files: Dict, uid: int, gid: int
+ config_dir: Union[str, Path], config_files: Dict, uid: int, gid: int
) -> None:
"""create config files for different services"""
for fname in config_files: