Skip to content
Snippets Groups Projects
Commit 9841a0f9 authored by Chris Hines's avatar Chris Hines
Browse files

typod

parent 649c84ce
No related branches found
No related tags found
2 merge requests!11Dev,!9Dev
Pipeline #7404 passed
...@@ -392,8 +392,8 @@ class AppInstance(Resource): ...@@ -392,8 +392,8 @@ class AppInstance(Resource):
def get(self, username, loginhost, batchhost, jobid): def get(self, username, loginhost, batchhost, jobid):
"""Run a command to get things like password and port number """Run a command to get things like password and port number
command is passed as a query string""" command is passed as a query string"""
sshsess = SSHSession.get_sshsession().format(jobid=jobid) sshsess = SSHSession.get_sshsession()
paramscmd = request.args.get('cmd') paramscmd = request.args.get('cmd').format(jobid=jobid)
import logging import logging
logger = logging.getLogger() logger = logging.getLogger()
logger.debug('getting appinstance {} {} {}'.format(username,loginhost,batchhost)) logger.debug('getting appinstance {} {} {}'.format(username,loginhost,batchhost))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment