mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Properly set use_tls initial value to bool (false)
This commit is contained in:
committed by
Shane McDonald
parent
8772ca2e3a
commit
994175f386
@@ -50,7 +50,7 @@ export default typeFieldNames;
|
|||||||
const initialConfigValues = {};
|
const initialConfigValues = {};
|
||||||
Object.keys(typeFieldNames).forEach(key => {
|
Object.keys(typeFieldNames).forEach(key => {
|
||||||
typeFieldNames[key].forEach(fieldName => {
|
typeFieldNames[key].forEach(fieldName => {
|
||||||
const isBoolean = fieldName.includes('_ssl');
|
const isBoolean = fieldName.includes('_ssl') || fieldName === 'use_tls';
|
||||||
initialConfigValues[fieldName] = isBoolean ? false : '';
|
initialConfigValues[fieldName] = isBoolean ? false : '';
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user