Skip to content

Commit

Permalink
refactor: minor (#2594)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm authored Nov 19, 2024
1 parent c62734a commit 0c20e6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public boolean isEmpty() {
public Workflow<P> resolve(KubernetesClient client,
ControllerConfiguration<P> configuration) {
final var alreadyResolved = new HashMap<String, DependentResourceNode>(orderedSpecs.size());
for (DependentResourceSpec spec : orderedSpecs) {
for (DependentResourceSpec<?, P, ?> spec : orderedSpecs) {
final var dependentResource = resolve(spec, client, configuration);
final var node = new DependentResourceNode(
spec.getReconcileCondition(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import io.fabric8.kubernetes.api.model.ObjectMetaBuilder;
import io.fabric8.kubernetes.api.model.Service;
Expand All @@ -24,8 +22,6 @@ class ComplexWorkflowIT {

public static final String TEST_RESOURCE_NAME = "test1";

Logger log = LoggerFactory.getLogger(ComplexWorkflowIT.class);

@RegisterExtension
LocallyRunOperatorExtension operator =
LocallyRunOperatorExtension.builder()
Expand Down

0 comments on commit 0c20e6b

Please sign in to comment.