Skip to content

Commit

Permalink
chore: minor cleaning up
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm committed Jan 9, 2025
1 parent 1d77091 commit 94365b9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
enum RoleKind {

ClusterRole,
Role;
Role

}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.quarkiverse.operatorsdk.bundle;

import static io.quarkiverse.operatorsdk.bundle.Utils.*;
import static io.quarkiverse.operatorsdk.bundle.Utils.getCRDNameFor;
import static org.junit.jupiter.api.Assertions.*;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.quarkiverse.operatorsdk.bundle.runtime;

import static io.quarkiverse.operatorsdk.bundle.runtime.BundleConfiguration.*;
import static io.quarkiverse.operatorsdk.bundle.runtime.BundleConfiguration.CONTAINER_IMAGE_ANNOTATION;

import java.util.Collections;
import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private Files() {
public interface MessageWriter {
default void write(String message) {
write(message, null, false);
};
}

default void error(String message) {
error(message, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,6 @@ public Metrics getMetrics() {
return metrics;
}

@Override
public KubernetesClient getKubernetesClient() {
return super.getKubernetesClient();
}

boolean shouldStartOperator() {
return startOperator;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import java.time.Duration;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

import io.javaoperatorsdk.operator.ReconcilerUtils;
Expand All @@ -31,11 +30,6 @@
@QuarkusTest
@WithTestResource(CustomKubernetesServerTestResource.class)
class OperatorSDKResourceTest {

@BeforeAll
static void setup() {
}

@Test
void shouldNotValidateCRs() {
given().when().get("/operator/config").then().statusCode(200).body(
Expand Down

0 comments on commit 94365b9

Please sign in to comment.