[skip ci] improve layout

This commit is contained in:
az 2023-02-16 18:25:18 +01:00
parent eb04e84007
commit 93425a0f83
2 changed files with 5 additions and 3 deletions

View file

@ -57,7 +57,6 @@ fun Prov.provisionK3s(
provisionK3sApplication(applicationFile)
}
if (!k3sConfig.reprovision) {
provisionServerCliConvenience()
}

View file

@ -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.")
}
}
}