Skip to content

Commit 6b60d04

Browse files
committed
Format inline HCL in ACC tests with github.com/katbyte/terrafmt
1 parent 3b0e217 commit 6b60d04

2 files changed

+12
-4
lines changed

kubernetes/resource_kubernetes_replication_controller_deprecated_test.go

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,20 +419,25 @@ resource "kubernetes_replication_controller" "test" {
419419
TestAnnotationOne = "one"
420420
TestAnnotationTwo = "two"
421421
}
422+
422423
labels {
423-
TestLabelOne = "one"
424-
TestLabelTwo = "two"
424+
TestLabelOne = "one"
425+
TestLabelTwo = "two"
425426
TestLabelThree = "three"
426427
}
428+
427429
name = "%s"
428430
}
431+
429432
spec {
430433
replicas = 1000 # This is intentionally high to exercise the waiter
434+
431435
selector {
432-
TestLabelOne = "one"
433-
TestLabelTwo = "two"
436+
TestLabelOne = "one"
437+
TestLabelTwo = "two"
434438
TestLabelThree = "three"
435439
}
440+
436441
template {
437442
container {
438443
image = "nginx:1.7.8"

kubernetes/resource_kubernetes_replication_controller_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ resource "kubernetes_replication_controller" "test" {
507507
TestAnnotationFive = "five"
508508
}
509509
}
510+
510511
spec {
511512
container {
512513
image = "nginx:1.7.8"
@@ -554,6 +555,7 @@ resource "kubernetes_replication_controller" "test" {
554555
TestLabelThree = "three"
555556
}
556557
}
558+
557559
spec {
558560
container {
559561
name = "nginx"
@@ -629,6 +631,7 @@ resource "kubernetes_replication_controller" "test" {
629631
TestAnnotationSix = "six"
630632
}
631633
}
634+
632635
spec {
633636
container {
634637
image = "nginx:1.7.9"

0 commit comments

Comments
 (0)