ctdb-doc: Fix monitoring bug in example NFS Ganesha call-out
authorMartin Schwenke <martin@meltin.net>
Wed, 22 Feb 2017 07:55:56 +0000 (18:55 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 24 Feb 2017 06:47:11 +0000 (07:47 +0100)
There is no "check" method.  This was an error in the original
example.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/doc/examples/nfs-ganesha-callout

index 283f20482aeec66672f16f9d6ab563d4c52e3ed1..4660a1cc5fabae15938a7c4e1dfc69957650f267 100755 (executable)
@@ -324,7 +324,7 @@ shutdown
 startup
 stop
 start
-check
+monitor-pre
 releaseip
 takeip
 monitor-list-shares
@@ -341,12 +341,12 @@ shutdown)            nfs_shutdown            ;;
 startup)             nfs_startup             ;;
 stop)                service_stop "$1"       ;;
 start)               service_start "$1"      ;;
-check)               service_check "$1"      ;;
+monitor-pre)         service_check "$1"      ;;
 releaseip)           nfs_releaseip "$@"      ;;
 takeip)              nfs_takeip "$@"         ;;
 monitor-list-shares) nfs_monitor_list_shares ;;
 register)            nfs_register            ;;
-monitor-pre|monitor-post|releaseip-pre|takeip-pre)
+monitor-post|releaseip-pre|takeip-pre)
        # Not required/implemented
        :
        ;;