rabbitmq plugin defaults to false skip_ssl_validation
previously, it would die if skip_ssl_validation was omitted, which the web UI would do when it was set to false, because the option is marked as optional. Now it will treat this missing field as false.
@@ -199,7 +199,7 @@ func getRabbitMQEndpoint(endpoint plugin.ShieldEndpoint) (RabbitMQEndpoint, erro
return RabbitMQEndpoint{}, err
}
- sslValidate, err := endpoint.BooleanValue("skip_ssl_validation")
+ sslValidate, err := endpoint.BooleanValueDefault("skip_ssl_validation", false)
if err != nil {
return RabbitMQEndpoint{}, err
}
