File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
kotlin/services/neptune/src/main/java/com/example/neptune/scenerio Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 (" \n The 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}
You can’t perform that action at this time.
0 commit comments