8000 address comments from @waynew · perlchild/salt@ce17dd1 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce17dd1

Browse files
committed
address comments from @waynew
1 parent 22d30b2 commit ce17dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

salt/runners/salt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def cmd(fun, *args, **kwargs):
8686
with_pillar = kwargs.pop('with_pillar', False)
8787

8888
opts = copy.deepcopy(__opts__)
89-
# try to only load grains if we need to, it may already exist from other contexts (ie pillar)
89+
# try to only load grains if we need to, it may already exist from other contexts (e.g., pillar)
9090
if 'grains' not in opts:
91-
id_, grains, _ = salt.utils.minions.get_minion_data(__opts__['id'], __opts__)
91+
_, grains, _ = salt.utils.minions.get_minion_data(__opts__['id'], __opts__)
9292
if grains:
9393
opts['grains'] = grains
9494
else:

0 commit comments

Comments
 (0)
0