Skip to content

Commit f32d7f0

Browse files
committed
fixed linter issue
1 parent 6d486ba commit f32d7f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kotlin/services/neptune/src/main/java/com/example/neptune/scenerio/NeptuneScenario.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,19 @@ suspend fun runScenario(
183183
* @param subnetGroupName the identifier of the subnet group to delete
184184
* @return a {@link CompletableFuture} that completes when the cluster has been deleted
185185
*/
186-
suspend fun deleteDBSubnetGroup(neptuneClient:NeptuneClient, subnetGroupName:String) {
186+
suspend fun deleteDBSubnetGroup(neptuneClient: NeptuneClient, subnetGroupName: String) {
187187
val request = DeleteDbSubnetGroupRequest {
188188
dbSubnetGroupName = subnetGroupName
189189
}
190190

191191
try {
192192
neptuneClient.deleteDbSubnetGroup(request)
193-
println(" Deleting Subnet Group: $subnetGroupName")
193+
println("Deleting Subnet Group: $subnetGroupName")
194194
} catch (e: DbSubnetGroupNotFoundFault) {
195-
println("\nThe subnet group not found: ${e.message}")
195+
println("The subnet group was not found: ${e.message}")
196196
throw e
197197
} catch (e: NeptuneException) {
198-
println("Neptune exception occurred : ${e.message}")
198+
println("Neptune exception occurred: ${e.message}")
199199
throw e
200200
}
201201
}

0 commit comments

Comments
 (0)