Skip to content

Commit 8afe460

Browse files
honnixclaude
andcommitted
style: fix spotless formatting in FlyteSandboxContainer
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5dc53a1 commit 8afe460

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

integration-tests/src/test/java/org/flyte/utils/FlyteSandboxContainer.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
import com.github.dockerjava.api.DockerClient;
2020
import java.io.File;
2121
import java.io.IOException;
22-
import java.util.Map;
2322
import java.io.InputStream;
2423
import java.io.OutputStream;
2524
import java.io.UncheckedIOException;
2625
import java.nio.file.Files;
2726
import java.nio.file.Paths;
2827
import java.time.Duration;
28+
import java.util.Map;
2929
import org.apache.commons.compress.utils.IOUtils;
3030
import org.testcontainers.DockerClientFactory;
3131
import org.testcontainers.containers.BindMode;
@@ -106,15 +106,13 @@ private static void patchInsecureEnvVar() {
106106
"jsonpath={.data.100-inline-config\\.yaml}");
107107

108108
if (patchResult.getExitCode() != 0) {
109-
throw new RuntimeException(
110-
"Failed to read configmap: " + patchResult.getStderr());
109+
throw new RuntimeException("Failed to read configmap: " + patchResult.getStderr());
111110
}
112111

113112
String config = patchResult.getStdout();
114113
if (config.contains("FLYTE_PLATFORM_INSECURE: true")) {
115-
String patched = config.replace(
116-
"FLYTE_PLATFORM_INSECURE: true",
117-
"FLYTE_PLATFORM_INSECURE: 'true'");
114+
String patched =
115+
config.replace("FLYTE_PLATFORM_INSECURE: true", "FLYTE_PLATFORM_INSECURE: 'true'");
118116

119117
ExecResult applyResult =
120118
INSTANCE.execInContainer(
@@ -126,8 +124,7 @@ private static void patchInsecureEnvVar() {
126124
+ "' --dry-run=client -o yaml | kubectl apply -f -");
127125

128126
if (applyResult.getExitCode() != 0) {
129-
throw new RuntimeException(
130-
"Failed to patch configmap: " + applyResult.getStderr());
127+
throw new RuntimeException("Failed to patch configmap: " + applyResult.getStderr());
131128
}
132129

133130
// Restart flyte-sandbox pod to pick up the new config

0 commit comments

Comments
 (0)