ioc get running defaults
Traceback (most recent call last):
File "/usr/local/bin/ioc", line 10, in <module>
sys.dd:exit(cli())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/src/libiocage/ioc/get.py", line 107, in cli
value = lookup_method(source_resource, _prop)
File "/usr/local/src/libiocage/ioc/get.py", line 130, in _lookup_config_value
return str(iocage.helpers.to_string(resource.config[key]))
File "/usr/local/src/libiocage/iocage/Config/Jail/BaseConfig.py", line 567, in __getitem__
raise KeyError(f"Item not found: {key}")
KeyError: 'Item not found: running'
we know the error here, no need to throw a backtrace
ioc get non-existent-key defaults
we know the error here, no need to throw a backtrace