To access the /logs API, the user must have to be logged to Wok.
Signed-off-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
---
src/wok/control/logs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wok/control/logs.py b/src/wok/control/logs.py
index 0eb04d7..4844b89 100644
--- a/src/wok/control/logs.py
+++ b/src/wok/control/logs.py
@@ -24,7 +24,7 @@ from wok.control.utils import get_class_name, model_fn
from wok.control.utils import UrlSubNode
-@UrlSubNode("logs")
+@UrlSubNode("logs", True)
class Logs(SimpleCollection):
def __init__(self, model):
super(Logs, self).__init__(model)
--
2.5.0