mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Use shorter version of salt-run command in warning
This commit is contained in:
parent
537a78ec5c
commit
d61cc123f0
@ -1031,9 +1031,8 @@ def update():
|
||||
'Update lockfile is present for gitfs remote {0}, skipping. '
|
||||
'If this warning persists, it is possible that the update '
|
||||
'process was interrupted. Removing {1} or running '
|
||||
'\'salt-run fileserver.clear_lock backend=git\' will allow '
|
||||
'updates to continue for this remote.'
|
||||
.format(repo['url'], lk_fn)
|
||||
'\'salt-run fileserver.clear_lock gitfs\' will allow updates '
|
||||
'to continue for this remote.'.format(repo['url'], lk_fn)
|
||||
)
|
||||
continue
|
||||
try:
|
||||
|
@ -389,9 +389,8 @@ def update():
|
||||
'Update lockfile is present for hgfs remote {0}, skipping. '
|
||||
'If this warning persists, it is possible that the update '
|
||||
'process was interrupted. Removing {1} or running '
|
||||
'\'salt-run fileserver.clear_lock backend=hg\' will allow '
|
||||
'updates to continue for this remote.'
|
||||
.format(repo['url'], lk_fn)
|
||||
'\'salt-run fileserver.clear_lock hgfs\' will allow updates '
|
||||
'to continue for this remote.'.format(repo['url'], lk_fn)
|
||||
)
|
||||
continue
|
||||
with salt.utils.fopen(lk_fn, 'w+') as fp_:
|
||||
|
@ -319,9 +319,8 @@ def update():
|
||||
'Update lockfile is present for svn remote {0}, skipping. '
|
||||
'If this warning persists, it is possible that the update '
|
||||
'process was interrupted. Removing {1} or running '
|
||||
'\'salt-run fileserver.clear_lock backend=svn\' will allow '
|
||||
'updates to continue for this remote.'
|
||||
.format(repo['url'], lk_fn)
|
||||
'\'salt-run fileserver.clear_lock svnfs\' will allow updates '
|
||||
'to continue for this remote.'.format(repo['url'], lk_fn)
|
||||
)
|
||||
continue
|
||||
with salt.utils.fopen(lk_fn, 'w+') as fp_:
|
||||
|
Loading…
Reference in New Issue
Block a user