Skip to content

Commit

Permalink
chore: checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosentino11 committed Aug 22, 2024
1 parent b23cd94 commit 8947375
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ public CreateLocalDeploymentResponse handleRequest(CreateLocalDeploymentRequest
.resource(AuthorizationHandler.ANY_REGEX)
.operation(CREATE_LOCAL_DEPLOYMENT)
.build());
String deploymentId = UUID.randomUUID().toString();
//All inputs are valid. If all inputs are empty, then user might just want to retrigger the deployment
// with new recipes set using the updateRecipesAndArtifacts API.
Map<String, ConfigurationUpdateOperation> configUpdate = null;
Expand Down Expand Up @@ -493,6 +492,7 @@ public CreateLocalDeploymentResponse handleRequest(CreateLocalDeploymentRequest
throw new InvalidArgumentsError("Thing group name cannot contain colon characters");
}

String deploymentId = UUID.randomUUID().toString();
LocalOverrideRequest localOverrideRequest = LocalOverrideRequest.builder().requestId(deploymentId)
.componentsToMerge(request.getRootComponentVersionsToAdd())
.componentsToRemove(request.getRootComponentsToRemove())
Expand Down

0 comments on commit 8947375

Please sign in to comment.