From c01000e7bd12f39d66dbc1fd749e876e7a3f3986 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 27 Oct 2023 14:55:22 +1100 Subject: [PATCH] [ci skip] fix typo --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index c76bb9c..c7c4c6f 100644 --- a/main.go +++ b/main.go @@ -227,7 +227,7 @@ func generateBusSharingTable() string { return htmlString } -func generatMultiWriterTable() string { +func generateMultiWriterTable() string { // Define the HTML template htmlTemplate := `{{range .}}{{end}}
VM NameCluster NameDisk LabelSharing Type
{{.VmName}}{{.ClusterName}}{{.DiskLabel}}{{.SharingType}}
` @@ -245,7 +245,7 @@ func generatMultiWriterTable() string { // Convert the buffer to a string htmlString := buf.String() - fmt.Printf("generatMultiWriterTable : %s\n", htmlString) + fmt.Printf("generateMultiWriterTable : %s\n", htmlString) return htmlString } @@ -351,7 +351,7 @@ func updateConfluenceMultiWriter(api *goconfluence.API, vCenterHostname string, // Generate new content for confluence //fmt.Printf("Current content: %s\n", c.Body.Storage.Value) - newTable := generatMultiWriterTable() + newTable := generateMultiWriterTable() newContent := updateHtml(c.Body.Storage.Value, vCenterHostname, newTable) //fmt.Printf("New Content: %v\n", newContent)