action = Action.valueOf(actionParam.toUpperCase());
} catch (IllegalArgumentException e) {
sendErrorQuietly(response, HttpServletResponse.SC_BAD_REQUEST, "Bad action parameter: " + actionParam);
return;
}
<BUG>DockerCloudClientConfig clientConfig = null;
DockerImageConfig imageConfig = null;</BUG>
if (action == Action.CREATE) {
<BUG>Map<String, String> params = DockerCloudUtils.extractTCPluginParams(request);
try {</BUG>
clientConfig = DockerCloudClientConfig.processParams(params, dockerClientFactory);

action = Action.valueOf(actionParam.toUpperCase());
} catch (IllegalArgumentException e) {
sendErrorQuietly(response, HttpServletResponse.SC_BAD_REQUEST, "Bad action parameter: " + actionParam);
return;
}
if (action == Action.CREATE) {
Map<String, String> params = DockerCloudUtils.extractTCPluginParams(request);
DockerCloudClientConfig clientConfig;
DockerImageConfig imageConfig;
try {
clientConfig = DockerCloudClientConfig.processParams(params, dockerClientFactory);
