lib/elasticsearch/xpack/api/actions/watcher/deactivate_watch.rb in elasticsearch-xpack-7.16.3 vs lib/elasticsearch/xpack/api/actions/watcher/deactivate_watch.rb in elasticsearch-xpack-7.17.0
- old
+ new
@@ -23,10 +23,10 @@
# Deactivates a currently active watch.
#
# @option arguments [String] :watch_id Watch ID
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/watcher-api-deactivate-watch.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.17/watcher-api-deactivate-watch.html
#
def deactivate_watch(arguments = {})
raise ArgumentError, "Required argument 'watch_id' missing" unless arguments[:watch_id]
headers = arguments.delete(:headers) || {}