Added Additional Comments

Add comments and sign

Signed-off-by: Eunan Hardy <25510708+eunanio@users.noreply.github.com>
pull/30994/head
Eunan Hardy 3 months ago
parent 21029569ea
commit 6815998f99
No known key found for this signature in database
GPG Key ID: 35158A267E7F34B4

@ -119,6 +119,7 @@ func isGZipApplication(data []byte) bool {
return bytes.HasPrefix(data, sig)
}
// getMaxDecompressedChartSize retrieves the maximum size of a decompressed chart from the environment variable
func getMaxDecompressedChartSize() int64 {
chartSizeEnv, ok := os.LookupEnv(MaxChartSizeEnv)
if !ok {
@ -132,6 +133,7 @@ func getMaxDecompressedChartSize() int64 {
return maxSize
}
// getMaxDecompressedFileSize retrieves the maximum size of a decompressed file from the environment variable
func getMaxDecompressedFileSize() int64 {
fileSizeEnv, ok := os.LookupEnv(MaxChartFileSizeEnv)
if !ok {

Loading…
Cancel
Save