From ab16785c6706753a5ed5e02da0fb4026a2c0e0c0 Mon Sep 17 00:00:00 2001 From: Gilbert Cherrie Date: Thu, 14 Dec 2023 11:02:26 -0500 Subject: [PATCH] Update --- _history | 3 +++ app/controllers/ops_controller/settings/common.rb | 3 ++- .../components/authentication-form/authentication.schema.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 _history diff --git a/_history b/_history new file mode 100644 index 000000000000..aee51e32325a --- /dev/null +++ b/_history @@ -0,0 +1,3 @@ +simulate_queue_worker +simulate_queue_worker +exit diff --git a/app/controllers/ops_controller/settings/common.rb b/app/controllers/ops_controller/settings/common.rb index 94d11b6493e6..8cc4fba89424 100644 --- a/app/controllers/ops_controller/settings/common.rb +++ b/app/controllers/ops_controller/settings/common.rb @@ -151,7 +151,8 @@ def settings_update def settings_update_amazon_verify assert_privileges("ops_settings") - + require 'byebug' + byebug if params[:authentication][:amazon_secret].nil? server_config = MiqServer.find(@sb[:selected_server_id]).settings params[:authentication][:amazon_secret] = server_config[:authentication][:amazon_secret] diff --git a/app/javascript/components/authentication-form/authentication.schema.js b/app/javascript/components/authentication-form/authentication.schema.js index dc26f6dcb460..de6d5153f9f7 100644 --- a/app/javascript/components/authentication-form/authentication.schema.js +++ b/app/javascript/components/authentication-form/authentication.schema.js @@ -63,7 +63,7 @@ const createSchema = (amazonEdit, editMode, setState, key, setKey) => { label: __('Secret Key'), maxLength: 50, edit: amazonEdit, - onChange: (test) => { console.log(test); }, + // onChange: (test) => { console.log(test); }, validate: [{ type: validatorTypes.REQUIRED }], isRequired: true, },