Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit ed2c45a

Browse files
committed
style: [#14] remove trailing spaces from multi-provider abstraction README
Clean up trailing whitespace in documentation to maintain consistent code style and satisfy linting requirements.
1 parent f13b08d commit ed2c45a

File tree

1 file changed

+5
-5
lines changed
  • infrastructure/docs/refactoring/multi-provider-abstraction

1 file changed

+5
-5
lines changed

infrastructure/docs/refactoring/multi-provider-abstraction/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ module "hetzner_infrastructure" {
174174
# Standardized outputs (regardless of provider)
175175
output "vm_ip" {
176176
value = var.infrastructure_provider == "local" ?
177-
(length(module.local_infrastructure) > 0 ?
177+
(length(module.local_infrastructure) > 0 ?
178178
module.local_infrastructure[0].vm_ip : "No IP assigned yet") :
179-
(length(module.hetzner_infrastructure) > 0 ?
179+
(length(module.hetzner_infrastructure) > 0 ?
180180
module.hetzner_infrastructure[0].vm_ip : "No IP assigned yet")
181181
description = "IP address of the created VM"
182182
}
@@ -190,9 +190,9 @@ output "vm_name" {
190190
191191
output "connection_info" {
192192
value = var.infrastructure_provider == "local" ?
193-
(length(module.local_infrastructure) > 0 ?
193+
(length(module.local_infrastructure) > 0 ?
194194
module.local_infrastructure[0].connection_info : "VM not created") :
195-
(length(module.hetzner_infrastructure) > 0 ?
195+
(length(module.hetzner_infrastructure) > 0 ?
196196
module.hetzner_infrastructure[0].connection_info : "VM not created")
197197
description = "SSH connection command"
198198
}
@@ -526,7 +526,7 @@ resource "hcloud_server" "vm" {
526526
ssh_keys = [hcloud_ssh_key.torrust_key.id]
527527
528528
user_data = templatefile(
529-
"${path.module}/../../cloud-init/${var.use_minimal_config ?
529+
"${path.module}/../../cloud-init/${var.use_minimal_config ?
530530
"user-data-minimal.yaml.tpl" : "user-data.yaml.tpl"}", {
531531
ssh_public_key = var.ssh_public_key
532532
})

0 commit comments

Comments
 (0)