diff options
author | Miroslav Los <miroslav.los@pantheon.tech> | 2019-12-18 18:28:59 +0100 |
---|---|---|
committer | Miroslav Los <miroslav.los@pantheon.tech> | 2020-01-17 19:02:50 +0100 |
commit | b10bd92fc39633dbfffba2e5bd5c4630baf880e6 (patch) | |
tree | a58da0e1a1b53869553cb94f8619d97daf0bca09 /k8s/pom.xml | |
parent | 0208d99f681e2a0f00a4f0cd8e7a45f41ea67c1a (diff) |
Address k8s plugin code smells reported by sonar
Make 'resources' argument to k8sclient.k8sclient.deploy an
optional kwarg, update its uses and document it.
Split off code reported complex from deploy into functions.
Tweak a nested if in tasks.
Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Issue-ID: DCAEGEN2-2006
Change-Id: I13a091de9207bab1c7d4eee3179263c5d994ffbf
Diffstat (limited to 'k8s/pom.xml')
-rw-r--r-- | k8s/pom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/k8s/pom.xml b/k8s/pom.xml index ed823ac..cb6be44 100644 --- a/k8s/pom.xml +++ b/k8s/pom.xml @@ -2,6 +2,7 @@ <!-- ================================================================================ Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved. +Copyright (c) 2020 Pantheon.tech. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -28,7 +29,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <groupId>org.onap.dcaegen2.platform.plugins</groupId> <artifactId>k8s</artifactId> <name>k8s-plugin</name> - <version>1.7.1-SNAPSHOT</version> + <version>1.7.2-SNAPSHOT</version> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |