resolve unsafe operator
This commit is contained in:
parent
77351933fe
commit
4cc1ce756a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ private fun Prov.provisionGrafanaSanitized(
|
||||||
submodules: List<String>?,
|
submodules: List<String>?,
|
||||||
grafanaConfigResolved: GrafanaAgentConfigResolved?) = task {
|
grafanaConfigResolved: GrafanaAgentConfigResolved?) = task {
|
||||||
|
|
||||||
if (submodules!!.contains(ServerSubmodule.GRAFANA.name.lowercase())) {
|
if (submodules != null && submodules.contains(ServerSubmodule.GRAFANA.name.lowercase())) {
|
||||||
if (grafanaConfigResolved == null) {
|
if (grafanaConfigResolved == null) {
|
||||||
println("ERROR: Could not find grafana config.")
|
println("ERROR: Could not find grafana config.")
|
||||||
exitProcess(7)
|
exitProcess(7)
|
||||||
|
|
Loading…
Reference in a new issue