We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd61a6 commit 90ffcb0Copy full SHA for 90ffcb0
pkg/extensions/config/sync/config.go
@@ -34,7 +34,6 @@ type RegistryConfig struct {
34
OnlySigned *bool
35
CredentialHelper string
36
PreserveDigest bool // sync without converting
37
- Architectures []string `mapstructure:",omitempty"` // filter architectures during sync (DEPRECATED: use Platforms instead)
38
Platforms []string `mapstructure:",omitempty"` // filter platforms during sync (supports both "arch" and "os/arch" formats)
39
}
40
pkg/extensions/sync/destination.go
@@ -46,7 +46,7 @@ func ParsePlatform(platform string) Platform {
46
Architecture: parts[1],
47
48
49
- // If only one part, assume it's the architecture
+ // For any other case, assume only architecture is specified
50
return Platform{
51
OS: "",
52
Architecture: platform,
0 commit comments