From ec3d24d1f443a7b3e4a4fe9def9a894d27c932c1 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 19 Jun 2022 13:54:44 +0800 Subject: [PATCH] Update index.py --- plugins/openresty/index.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/openresty/index.py b/plugins/openresty/index.py index 7570a0b6b..5f45d9ec9 100755 --- a/plugins/openresty/index.py +++ b/plugins/openresty/index.py @@ -216,19 +216,19 @@ def restyOp(version, method): def start(): - return restyOp(version, 'start') + return restyOp('start') def stop(): - return restyOp(version, 'stop') + return restyOp('stop') def restart(): - return restyOp(version, 'restart') + return restyOp('restart') def reload(): - return restyOp(version, 'reload') + return restyOp('reload') def initdStatus():