Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts committed Nov 28, 2023
1 parent 69d1a00 commit 6d08fa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/notation/internal/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ import (

// MaxPluginSourceBytes specifies the limit on how many bytes are allowed in the
// server's response to the download from URL request.
//
// It also specifies the limit of a potentail plugin executable file in a
// .tar.gz or .zip file.
//
// The plugin source size must be strictly less than this value.
var MaxPluginSourceBytes int64 = 256 * 1024 * 1024 // 256 MiB

// PluginSourceType is an enum for plugin source
Expand Down

0 comments on commit 6d08fa1

Please sign in to comment.