summaryrefslogtreecommitdiffstats
path: root/syslog-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-controller.lua')
-rw-r--r--syslog-controller.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslog-controller.lua b/syslog-controller.lua
index d0d05eb..0bdc2f5 100644
--- a/syslog-controller.lua
+++ b/syslog-controller.lua
@@ -24,5 +24,8 @@ function config(self)
return { status = self.model.getstatus(), srvcmdresult=srvcmdresult, config= self.model.getconfig() }
end
-expert = config
+function expert(self)
+ return { file = self.model:get_filedetails(), status = self.model.getstatus(),}
+
+end