mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #41865 from twangboy/fix_coverage_check
Don't run coverage if not admin
This commit is contained in:
commit
955d5b710d
@ -448,7 +448,7 @@ class SaltTestsuiteParser(SaltCoverageTestingParser):
|
||||
|
||||
if self.options.coverage and any((
|
||||
self.options.name,
|
||||
is_admin,
|
||||
not is_admin,
|
||||
not self.options.run_destructive)) \
|
||||
and self._check_enabled_suites(include_unit=True):
|
||||
self.error(
|
||||
|
Loading…
Reference in New Issue
Block a user