Bug in client without cluster set #155
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
joshua@host ~ $ pvc vm modify --editor vmname
Traceback (most recent call last):
File "/usr/bin/pvc", line 33, in
sys.exit(load_entry_point('pvc==0.9.50', 'console_scripts', 'pvc')())
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pvc/pvc.py", line 1045, in vm_modify
retcode, vm_information = pvc_vm.vm_info(config, domain)
File "/usr/lib/python3/dist-packages/pvc/cli_lib/vm.py", line 40, in vm_info
response = call_api(config, "get", "/vm/{vm}".format(vm=vm))
File "/usr/lib/python3/dist-packages/pvc/cli_lib/common.py", line 132, in call_api
config["api_scheme"], config["api_host"], config["api_prefix"], request_uri
KeyError: 'api_scheme'
Solved, found missing
@cluster_req
decorator.