mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fixed lowdata -> lowstate typo
This commit is contained in:
parent
a8af4e0c3f
commit
682783cefc
@ -289,12 +289,12 @@ class LowDataAdapter(object):
|
||||
chunks through Salt. The low-data chunks will be updated to include the
|
||||
authorization token for the current session.
|
||||
'''
|
||||
lowdata = cherrypy.request.lowdata
|
||||
logger.debug("SaltAPI is passing low-data: %s", lowdata)
|
||||
lowstate = cherrypy.request.lowstate
|
||||
logger.debug("SaltAPI is passing low-data chunks: %s", lowstate)
|
||||
|
||||
token = {'token': cherrypy.session.get('token')}
|
||||
|
||||
for chunk in lowdata:
|
||||
for chunk in lowstate:
|
||||
chunk.update(token)
|
||||
yield self.api.run(chunk)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user