File tree 1 file changed +2
-1
lines changed
src/main/kotlin/com/redhat/devtools/intellij/kubernetes/model
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import com.redhat.devtools.intellij.kubernetes.telemetry.TelemetryService.PROP_O
30
30
import io.fabric8.kubernetes.api.model.HasMetadata
31
31
import io.fabric8.kubernetes.api.model.NamedContext
32
32
import io.fabric8.kubernetes.api.model.NamedContextBuilder
33
+ import io.fabric8.kubernetes.client.Config
33
34
import io.fabric8.kubernetes.client.KubernetesClient
34
35
import java.nio.file.Paths
35
36
@@ -242,7 +243,7 @@ open class AllContexts(
242
243
}
243
244
244
245
protected open fun watchKubeConfig () {
245
- val path = Paths .get(ConfigHelper .getKubeConfigPath ())
246
+ val path = Paths .get(Config .getKubeconfigFilename ())
246
247
/* *
247
248
* [ConfigWatcher] cannot add/remove listeners nor can it get closed (and stop the [java.nio.file.WatchService]).
248
249
* We therefore have to create a single instance in here rather than using it in a shielded/private way within
You can’t perform that action at this time.
0 commit comments