Skip to content

Commit 896f09d

Browse files
fix linter issue
1 parent cb16812 commit 896f09d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/service/filecontents_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (s APIService) FileContents(w http.ResponseWriter, r *http.Request) {
8383
return
8484
}
8585
limitBytes := s.config.Scanning.FileContentsLimit * 1024 * 1024
86-
//unlimited for FileContentsLimit <= 0
86+
// unlimited for FileContentsLimit <= 0
8787
if limitBytes > 0 && int64(len(output)) > limitBytes {
8888
zs.Warnf("File contents size %d bytes exceeds limit %d MB for md5 %s", len(output), s.config.Scanning.FileContentsLimit, md5)
8989
w.Header().Set(ContentTypeKey, ApplicationJSON)

0 commit comments

Comments
 (0)