[skip ci] improve layout
This commit is contained in:
parent
eb04e84007
commit
93425a0f83
2 changed files with 5 additions and 3 deletions
|
@ -57,7 +57,6 @@ fun Prov.provisionK3s(
|
|||
provisionK3sApplication(applicationFile)
|
||||
}
|
||||
|
||||
|
||||
if (!k3sConfig.reprovision) {
|
||||
provisionServerCliConvenience()
|
||||
}
|
||||
|
|
|
@ -21,7 +21,10 @@ class DefaultApplicationFileRepository(val applicationFileName: ApplicationFileN
|
|||
val applicationFileContents = getLocalFileContent(applicationFileName.fullyQualifiedName())
|
||||
val applicationFile = ApplicationFile(applicationFileName, applicationFileContents)
|
||||
|
||||
return if (applicationFile.isValid()) { applicationFile }
|
||||
else { throw RuntimeException("Application file was invalid.") }
|
||||
return if (applicationFile.isValid()) {
|
||||
applicationFile
|
||||
} else {
|
||||
throw RuntimeException("Application file was invalid.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue