You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
patchingConsentDefinition.hidden(), // Accepts patching consent argument, for example passed as env variable, but does not require or use it
245
247
)
246
248
247
249
privatelazyvalesPathOption=
@@ -255,9 +257,7 @@ trait RorTools {
255
257
}
256
258
257
259
privatelazyvalpatchingConsent=
258
-
opt[String](consentFlagName)
259
-
.unbounded()
260
-
.valueName("<yes/no>")
260
+
patchingConsentDefinition
261
261
.validate { value =>
262
262
value.toLowerCase match {
263
263
case"yes"=> success
@@ -273,6 +273,11 @@ trait RorTools {
273
273
}
274
274
.text("Optional, when provided with value 'yes', it confirms that the user understands and accepts the implications of ES patching. The patching can therefore be performed. When not provided, user will be asked for confirmation in interactive mode. You can read about patching in our documentation: https://docs.readonlyrest.com/elasticsearch#id-3.-patch-elasticsearch.")
0 commit comments