@@ -39,14 +39,14 @@ public class GetPluginConfigurationExecutor implements RequestExecutor {
39
39
public static final Field DOCKER_CA_CERT = new Field ("docker_ca_cert" , "Docker CA Certificate" , null , false , true , "5" );
40
40
public static final Field DOCKER_CLIENT_KEY = new Field ("docker_client_key" , "Docker Client Key" , null , false , true , "6" );
41
41
public static final Field DOCKER_CLIENT_CERT = new Field ("docker_client_cert" , "Docker Client Certificate" , null , false , true , "7" );
42
- public static final Field ENABLE_PRIVATE_REGISTRY_AUTHENTICATION = new NonBlankField ("enable_private_registry_authentication" , "Use Private Registry" , "false" , true , false , "8" );
42
+ public static final Field ENABLE_PRIVATE_REGISTRY_AUTHENTICATION = new Field ("enable_private_registry_authentication" , "Use Private Registry" , "false" , true , false , "8" );
43
43
private static final Predicate <ValidatePluginSettings > privateRegistryFieldsPredicate = new Predicate <ValidatePluginSettings >() {
44
44
@ Override public boolean apply (ValidatePluginSettings settings ) { return Boolean .parseBoolean (settings .get (ENABLE_PRIVATE_REGISTRY_AUTHENTICATION .key ()));}
45
45
};
46
46
public static final Field PRIVATE_REGISTRY_SERVER = new ConditionalNonBlankField ("private_registry_server" , "Private Registry Server" , null , false , false , "9" , privateRegistryFieldsPredicate );
47
47
public static final Field PRIVATE_REGISTRY_USERNAME = new ConditionalNonBlankField ("private_registry_username" , "Private Registry Username" , null , false , false , "10" , privateRegistryFieldsPredicate );
48
48
public static final Field PRIVATE_REGISTRY_PASSWORD = new ConditionalNonBlankField ("private_registry_password" , "Private Registry Password" , null , false , true , "11" , privateRegistryFieldsPredicate );
49
- public static final Field PULL_ON_CONTAINER_CREATE = new NonBlankField ("pull_on_container_create" , "Pull image before creating the container" , "false" , true , false , "12" );
49
+ public static final Field PULL_ON_CONTAINER_CREATE = new Field ("pull_on_container_create" , "Pull image before creating the container" , "false" , true , false , "12" );
50
50
51
51
public static final Map <String , Field > FIELDS = new LinkedHashMap <>();
52
52
0 commit comments