mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #29367 from daveneeley/WinRepoErrorMessage
win-repo.py: Add error message for non-windows systems.
This commit is contained in:
commit
d61904e75b
@ -51,7 +51,7 @@ def __virtual__():
|
||||
_update_git_repos = \
|
||||
salt.utils.namespaced_function(_update_git_repos, globals())
|
||||
return __virtualname__
|
||||
return False
|
||||
return (False, 'This module only works on Windows.')
|
||||
|
||||
|
||||
def _get_local_repo_dir(saltenv='base'):
|
||||
|
Loading…
Reference in New Issue
Block a user