Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit 7a6f7d2

Browse files
authored
fix: unset current context after test from config (#50)
1 parent aaa27bb commit 7a6f7d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/io/javaoperatorsdk/jenvtest/KubeConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public void cleanupFromKubeConfig() {
4040
unset("contexts." + JENVTEST);
4141
unset("clusters." + JENVTEST);
4242
unset("users." + JENVTEST);
43+
unset("current-context");
4344
}
4445

4546
private void unset(String target) {

0 commit comments

Comments
 (0)