Skip to content

Commit

Permalink
added more lintered files
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon committed Jun 8, 2024
1 parent 252b30d commit c2198d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ suspend fun main(args: Array<String>) {
<fileName>
Where:
fileName - The path to the moviedata.json you can download from the Amazon DynamoDB Developer Guide.
fileName - The path to the moviedata.json file You can download from the Amazon DynamoDB Developer Guide.
"""

if (args.size != 1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ suspend fun findRunningEC2Instances() {
val response = ec2.describeInstances(request)
response.reservations?.forEach { reservation ->
reservation.instances?.forEach { instance ->
println(
"Found Reservation with id: ${instance.instanceId}, type: ${instance.instanceType} state: ${instance.state?.name} and monitoring state: ${instance.monitoring?.state}"
)
println("Found Reservation with id: ${instance.instanceId}, type: ${instance.instanceType} state: ${instance.state?.name} and monitoring state: ${instance.monitoring?.state}")
}
}
}
Expand Down

0 comments on commit c2198d3

Please sign in to comment.