This repository was archived by the owner on Nov 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -213,11 +213,14 @@ def self.restart
213213
214214 General options:
215215 -v, [--verbose] # Verbose output
216+ --no-verify # Skip verifying the restart
217+ --legacy # Don't use Management REST api
216218
217219 Restart the MarkLogic process in the given environment on each host in the
218220 specified group. If no group is specified, restart the MarkLogic process
219221 on each host in the group to which the target host belongs. Use 'cluster'
220- to restart all hosts within the cluster to which the target belongs.
222+ to restart all hosts within the cluster to which the target belongs. Restart
223+ is verified by default, Management REST api is used if available.
221224 DOC
222225 end
223226
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ def get_host_names
605605
606606 def restart
607607 # Default to verified restart
608- verify = find_arg ( [ '--verify' ] ) != 'false'
608+ verify = find_arg ( [ '--no-verify' ] ) == nil && find_arg ( [ '-- verify'] ) != 'false'
609609 # Default to using Management Rest api (if available)
610610 legacy = find_arg ( [ '--legacy' ] ) != nil
611611
You can’t perform that action at this time.
0 commit comments