Skip to content

Commit d85602c

Browse files
committed
Fix remove console proxy token file
Fix ZSTAC-9590
1 parent 5210ef2 commit d85602c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

consoleproxy/consoleproxy/console_proxy_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def check_proxy_availability(self, req):
185185
def delete(self, req):
186186
cmd = jsonobject.loads(req[http.REQUEST_BODY])
187187

188-
token_file = self._make_token_file_name(cmd)
188+
token_file = os.path.join(self.TOKEN_FILE_DIR, self._make_token_file_name(cmd))
189189
shell.call("rm -f %s" % token_file)
190190
logger.debug('deleted a proxy by command: %s' % req[http.REQUEST_BODY])
191191

0 commit comments

Comments
 (0)