mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
go.mod: update modules
This commit is contained in:
committed by
Ramkumar Chinchani
parent
c6670b1329
commit
26926ad4c2
+2
-3
@@ -5,10 +5,9 @@ import (
|
||||
ext "github.com/anuvu/zot/pkg/extensions"
|
||||
"github.com/anuvu/zot/pkg/log"
|
||||
"github.com/getlantern/deepcopy"
|
||||
dspec "github.com/opencontainers/distribution-spec"
|
||||
distspec "github.com/opencontainers/distribution-spec/specs-go"
|
||||
)
|
||||
|
||||
// Global vars...
|
||||
var (
|
||||
Commit string // nolint: gochecknoglobals
|
||||
BinaryType string // nolint: gochecknoglobals
|
||||
@@ -92,7 +91,7 @@ type Config struct {
|
||||
|
||||
func NewConfig() *Config {
|
||||
return &Config{
|
||||
Version: dspec.Version,
|
||||
Version: distspec.Version,
|
||||
Commit: Commit,
|
||||
BinaryType: BinaryType,
|
||||
Storage: GlobalStorageConfig{GC: true, Dedupe: true},
|
||||
|
||||
Reference in New Issue
Block a user