chore: fix some function name in comment

Signed-off-by: needsure <qinzhipeng@outlook.com>
This commit is contained in:
needsure
2024-12-06 13:41:14 +08:00
parent 08696c583a
commit c585abc21a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ func getAttackTracksGetter(ctx context.Context, attackTracks, accountID string,
return downloadReleasedPolicy
}
// getUIPrinter returns a printer that will be used to print to the programs UI (terminal)
// GetUIPrinter returns a printer that will be used to print to the programs UI (terminal)
func GetUIPrinter(ctx context.Context, scanInfo *cautils.ScanInfo, clusterName string) printer.IPrinter {
var p printer.IPrinter
if helpers.ToLevel(logger.L().GetLevel()) >= helpers.WarningLevel {
+1 -1
View File
@@ -54,7 +54,7 @@ func (rh *ResultsHandler) SetData(data *cautils.OPASessionObj) {
rh.ScanData = data
}
// GetPrinter returns all printers
// GetPrinters returns all printers
func (rh *ResultsHandler) GetPrinters() []printer.IPrinter {
return rh.PrinterObjs
}