@utils.arg('id', metavar='<id>', help=_('ID of the agent-build.'))
@utils.arg('version', metavar='<version>', help=_('Version.'))
@utils.arg('url', metavar='<url>', help=_('URL'))
@utils.arg('md5hash', metavar='<md5hash>', help=_('MD5 hash.'))
def do_agent_modify(cs, args):
 result = cs.agents.update(args.id, args.version, args.url, args.md5hash)
 utils.print_dict(result.to_dict())

@ utils . arg ( 'id' , metavar = '<id>' , help = _ ( 'ID of the agent-build.' ) ) @ utils . arg ( 'version' , metavar = '<version>' , help = _ ( 'Version.' ) ) @ utils . arg ( 'url' , metavar = '<url>' , help = _ ( 'URL' ) ) @ utils . arg ( 'md5hash' , metavar = '<md5hash>' , help = _ ( 'MD5 hash.' ) ) def do_agent_modify ( cs , args ) : result = cs . agents . update ( args . id , args . version , args . url , args . md5hash ) utils . print_dict ( result . to_dict ( ) )
modify existing agent build .