We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb16812 commit 896f09dCopy full SHA for 896f09d
1 file changed
pkg/service/filecontents_service.go
@@ -83,7 +83,7 @@ func (s APIService) FileContents(w http.ResponseWriter, r *http.Request) {
83
return
84
}
85
limitBytes := s.config.Scanning.FileContentsLimit * 1024 * 1024
86
- //unlimited for FileContentsLimit <= 0
+ // unlimited for FileContentsLimit <= 0
87
if limitBytes > 0 && int64(len(output)) > limitBytes {
88
zs.Warnf("File contents size %d bytes exceeds limit %d MB for md5 %s", len(output), s.config.Scanning.FileContentsLimit, md5)
89
w.Header().Set(ContentTypeKey, ApplicationJSON)
0 commit comments