Fix consistancy error for salt-call -g

This commit is contained in:
Thomas S Hatch 2012-12-10 11:45:39 -07:00
parent e9d14a478a
commit 52ce466f6b

View File

@ -116,7 +116,7 @@ class Caller(object):
Print out the grains
'''
grains = salt.loader.grains(self.opts)
salt.output.display_output(grains, 'grains', self.opts)
salt.output.display_output({'local': grains}, 'grains', self.opts)
def run(self):
'''