]> ruderich.org/simon Gitweb - linux-network-namespace-labs/linux-network-namespace-labs.git/commitdiff
Fix code formatting
authorSimon Ruderich <simon@ruderich.org>
Tue, 5 Nov 2024 06:41:53 +0000 (07:41 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 5 Nov 2024 06:41:53 +0000 (07:41 +0100)
dot.go

diff --git a/dot.go b/dot.go
index c49c3bbf63fff7750d5d5f15d0fe2067e3afda12..8ed8df9928feb767116c418d25b3b87715d4ddb8 100644 (file)
--- a/dot.go
+++ b/dot.go
@@ -48,8 +48,7 @@ func writeDot(cfg *Config, path string) error {
                }
                fmt.Fprintf(w, "%s -- %s [taillabel=<%s>,headlabel=<%s>,labelfontsize=10]\n",
                        link.A.Node.Name, link.B.Node.Name,
-                       strings.Join(aas, ""), strings.Join(abs, ""),
-               )
+                       strings.Join(aas, ""), strings.Join(abs, ""))
        }
 
        fmt.Fprintf(w, "}\n")