diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2023-08-08 08:58:06 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2023-08-08 08:58:06 +0000 |
commit | 190b7b8ca15a545ec83424bc2367dab954780f32 (patch) | |
tree | b6b55ea1a6f2ea3351383bedc0444930f366d872 /src/onaptests/steps/cloud | |
parent | 9ae6448df2adb57822c81c15961464e10d39bf8d (diff) |
Fix pylama errors
Some new code was not checked by pylama and we have new errors
Issue-ID: TEST-404
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I5e92f0bbbafedc8852599eb3fb3423509c3e0d12
Diffstat (limited to 'src/onaptests/steps/cloud')
-rw-r--r-- | src/onaptests/steps/cloud/expose_service_node_port.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/onaptests/steps/cloud/expose_service_node_port.py b/src/onaptests/steps/cloud/expose_service_node_port.py index ee820f7..1f43a65 100644 --- a/src/onaptests/steps/cloud/expose_service_node_port.py +++ b/src/onaptests/steps/cloud/expose_service_node_port.py @@ -73,7 +73,9 @@ class ExposeServiceNodePortStep(BaseStep): self.k8s_client.patch_namespaced_service( self.service_name, settings.K8S_ONAP_NAMESPACE, - {"spec": {"ports": [{"port": self.port, "nodePort": self.node_port}], "type": "NodePort"}} + {"spec": {"ports": [{"port": self.port, + "nodePort": self.node_port}], + "type": "NodePort"}} ) except ApiException: self._logger.exception("Kubernetes API exception") |