From b7ddf27e5a3e0b1d1243fc6abbdc948a2fb8eb10 Mon Sep 17 00:00:00 2001 From: Eti Ijeoma Date: Mon, 23 Sep 2024 11:41:06 +0100 Subject: [PATCH] remove unused code Signed-off-by: Eti Ijeoma --- mesheryctl/internal/cli/root/registry/generate.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mesheryctl/internal/cli/root/registry/generate.go b/mesheryctl/internal/cli/root/registry/generate.go index efed57619d4..d06c6eaaa10 100644 --- a/mesheryctl/internal/cli/root/registry/generate.go +++ b/mesheryctl/internal/cli/root/registry/generate.go @@ -217,7 +217,7 @@ func InvokeGenerationFromSheet(wg *sync.WaitGroup) error { go func() { utils.ProcessModelToComponentsMap(componentCSVHelper.Components) - utils.VerifyandUpdateSpreadsheet(spreadsheeetCred, &wgForSpreadsheetUpdate, srv, spreadsheeetChan, spreadsheeetID, modelCSVFilePath, componentCSVFilePath) // write another for csv + utils.VerifyandUpdateSpreadsheet(spreadsheeetCred, &wgForSpreadsheetUpdate, srv, spreadsheeetChan, spreadsheeetID, modelCSVFilePath, componentCSVFilePath) }() // Iterate models from the spreadsheet for _, model := range modelCSVHelper.Models { @@ -571,7 +571,6 @@ func getCSVHeader(filePath string) (headers, secondRow []string, err error) { reader := csv.NewReader(file) headers, err = reader.Read() // Read the first line - // log.Println("Logging messages:", headers) if err != nil { return headers, secondRow, err