lib/elasticsearch/xpack/api/actions/security/clear_cached_realms.rb in elasticsearch-xpack-7.8.1 vs lib/elasticsearch/xpack/api/actions/security/clear_cached_realms.rb in elasticsearch-xpack-7.9.0.pre
- old
+ new
@@ -24,11 +24,11 @@
#
# @option arguments [List] :realms Comma-separated list of realms to clear
# @option arguments [List] :usernames Comma-separated list of usernames to clear from the cache
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/security-api-clear-cache.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/security-api-clear-cache.html
#
def clear_cached_realms(arguments = {})
raise ArgumentError, "Required argument 'realms' missing" unless arguments[:realms]
headers = arguments.delete(:headers) || {}
@@ -49,10 +49,10 @@
#
# @since 6.2.0
ParamsRegistry.register(:clear_cached_realms, [
:usernames
].freeze)
+ end
end
- end
end
end
end