mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 13:37:57 +08:00
Address code review feedback
- Fix indentation in syncBlob (use proper tabs) - Remove redundant digest type conversion in SyncBlob - Add O_TRUNC flag when creating temp files to prevent stale data - Improve EOF handling in blob download loop - Add named constant for temp directory path - Enhance digest verification TODO with security note - Add detailed comment explaining dummy tag usage - Format all modified Go files Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>
This commit is contained in:
@@ -14,9 +14,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
godigest "github.com/opencontainers/go-digest"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/gorilla/securecookie"
|
||||
godigest "github.com/opencontainers/go-digest"
|
||||
"github.com/zitadel/oidc/v3/pkg/client/rp"
|
||||
|
||||
"zotregistry.dev/zot/v2/errors"
|
||||
|
||||
Reference in New Issue
Block a user