From 1a0fcfb829e3f86f5efaf4067d332d181103dcc4 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Thu, 5 Jun 2025 22:34:06 -0400 Subject: [PATCH] modules: misc: Use the less ambiguous import name --- modules/misc/main.mcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/misc/main.mcl b/modules/misc/main.mcl index 5258b26e..07cf29a1 100644 --- a/modules/misc/main.mcl +++ b/modules/misc/main.mcl @@ -28,7 +28,7 @@ # additional permission. import "golang" -import "golang/strings" +import "golang/strings" as golang_strings import "iter" import "local" import "net" @@ -214,7 +214,7 @@ class network_manager_dhcp($st) { $dev = $st->dev || "eth0" $dns = $st->dns || ["8.8.8.8",] - $dns_str = strings.join($dns, ";") # the line also ends with a semicolon + $dns_str = golang_strings.join($dns, ";") # the line also ends with a semicolon $tmpl = " [connection] @@ -272,7 +272,7 @@ class network_manager_static($st) { $dns = $st->dns || ["8.8.8.8",] $vips []str = $st->vips || [] # []cidr - $dns_str = strings.join($dns, ";") # the line also ends with a semicolon + $dns_str = golang_strings.join($dns, ";") # the line also ends with a semicolon $tmpl = " [connection]