summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:44 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:44 +0000
commit981fc18fda15fb99435d3b77d366653d4ce6bcc4 (patch)
tree02a68cdfea68a4b90d1a81ad1bb34dd5a982bd6b
parent66a237ad86a1d3657042589348685629c4360086 (diff)
downloadacf-lvm2-981fc18fda15fb99435d3b77d366653d4ce6bcc4.tar.bz2
acf-lvm2-981fc18fda15fb99435d3b77d366653d4ce6bcc4.tar.xz
Updated for handle_form now passing self to get and set functions
-rw-r--r--lvm2-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm2-model.lua b/lvm2-model.lua
index 9a75d62..1a4b6f8 100644
--- a/lvm2-model.lua
+++ b/lvm2-model.lua
@@ -17,11 +17,11 @@ local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
-- ################################################################################
-- PUBLIC FUNCTIONS
-function get_startstop(clientdata)
+function get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function startstop_service(startstop, action)
+function startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end