diff --git a/models/scanresults.go b/models/scanresults.go index dcdc9ebf..4cd83602 100644 --- a/models/scanresults.go +++ b/models/scanresults.go @@ -273,7 +273,7 @@ func (r ScanResult) FilterInactiveWordPressLibs() ScanResult { return r } -// ReportFileName returns the filename on localhost without extention +// ReportFileName returns the filename on localhost without extension func (r ScanResult) ReportFileName() (name string) { if len(r.Container.ContainerID) == 0 { return fmt.Sprintf("%s", r.ServerName) @@ -281,7 +281,7 @@ func (r ScanResult) ReportFileName() (name string) { return fmt.Sprintf("%s@%s", r.Container.Name, r.ServerName) } -// ReportKeyName returns the name of key on S3, Azure-Blob without extention +// ReportKeyName returns the name of key on S3, Azure-Blob without extension func (r ScanResult) ReportKeyName() (name string) { timestr := r.ScannedAt.Format(time.RFC3339) if len(r.Container.ContainerID) == 0 {