From 4186899aeb27b65a85758c147105ffa70bc5ba56 Mon Sep 17 00:00:00 2001 From: Sonia Sanz Vivas Date: Tue, 15 Oct 2024 17:11:23 +0200 Subject: [PATCH] Display error banner instead of warning (#195913) Closes [110155](https://github.com/elastic/kibana/issues/110155) ## Summary When the remote cluster creation has an error the banner displayed was a warning instead of an error. ### How to reproduce? 1.) Navigate to Remote Clusters 2.) Create a new Remote Cluster 3.) Add information for a cluster except set the max number of connections to 999999999999999999 4.) Try to save. ### Testing No testing since this doesn't change any functionality. 110155 (cherry picked from commit ded274062ca55e78a79973704c2c0e8814516c2b) --- .../components/remote_cluster_form/remote_cluster_form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx b/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx index 07cbe6b58340f..083f7b8f06c93 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx +++ b/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx @@ -423,7 +423,7 @@ export class RemoteClusterForm extends Component { return ( - + {errorBody}