mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Remove opts loading from grain generation
This commit is contained in:
parent
c750a52680
commit
2e09a39ae5
@ -42,7 +42,7 @@ def grains():
|
||||
module_dirs = [
|
||||
os.path.join(distutils.sysconfig.get_python_lib(), 'salt/grains'),
|
||||
]
|
||||
load = Loader(module_dirs, opts)
|
||||
load = Loader(module_dirs)
|
||||
return load.gen_grains()
|
||||
|
||||
def call(fun, arg=[], dirs=[]):
|
||||
|
Loading…
Reference in New Issue
Block a user