mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
chore: fix some function name in comment
Signed-off-by: needsure <qinzhipeng@outlook.com>
This commit is contained in:
@@ -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 program’s UI (terminal)
|
||||
// GetUIPrinter returns a printer that will be used to print to the program’s 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 {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user