8000 fixup! Move ConfigException out of incluster_config and in it's own file · kubernetes-client/python@478de27 · GitHub
[go: up one dir, main page]

Skip to content

Commit 478de27

Browse files
committed
fixup! Move ConfigException out of incluster_config and in it's own file
1 parent fd51cb8 commit 478de27

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

kubernetes/config/incluster_config_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
import tempfile
1717
import unittest
1818

19+
from .config_exception import ConfigException
1920
from .incluster_config import (SERVICE_HOST_ENV_NAME, SERVICE_PORT_ENV_NAME,
20-
ConfigException, InClusterConfigLoader,
21-
_join_host_port)
21+
InClusterConfigLoader, _join_host_port)
2222

2323
_TEST_TOKEN = "temp_token"
2424
_TEST_CERT = "temp_cert"

kubernetes/config/kube_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from kubernetes.client import configuration
2323
from oauth2client.client import GoogleCredentials
2424

25-
from .incluster_config import ConfigException
25+
from .config_exception import ConfigException
2626

2727
_temp_files = {}
2828

kubernetes/config/kube_config_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import tempfile
1818
import unittest
1919

20-
from .incluster_config import ConfigException
20+
from .config_exception import ConfigException
2121
from .kube_config import (ConfigNode, FileOrData, KubeConfigLoader,
2222
_create_temp_file_with_content)
2323

0 commit comments

Comments
 (0)
0