Skip to content

Commit a9f43da

Browse files
committed
Make flake8 happy
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
1 parent b1055db commit a9f43da

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Tests/kaas/plugin/gardener_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import json
44
import os
55

6-
from kubernetes.client import Configuration, CoreV1Api, CustomObjectsApi, ApiClient
6+
from kubernetes.client import Configuration, CustomObjectsApi, ApiClient
77

88

99
GARDENER_GROUP = 'core.gardener.cloud'

Tests/kaas/plugin/plugin_gardener.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ def _write_kubeconfig(self, kubeconfig):
163163

164164
def create_cluster(self):
165165
with ApiClient(self.client_config) as api_client:
166-
core_api = _gh.CoreV1Api(api_client)
167166
co_api = _gh.CustomObjectsApi(api_client)
168167
shoot_yaml = self._render_template('shoot')
169168
shoot_dict = yaml.load(shoot_yaml, Loader=yaml.SafeLoader)

0 commit comments

Comments
 (0)