Add new "DefaultArchitecture" value
This commit is contained in:
parent
840158dfc5
commit
68838fa86d
|
|
@ -42,12 +42,16 @@ type Manifest2822Entry struct {
|
||||||
Constraints []string `delim:"," strip:"\n\r\t "`
|
Constraints []string `delim:"," strip:"\n\r\t "`
|
||||||
}
|
}
|
||||||
|
|
||||||
var DefaultManifestEntry = Manifest2822Entry{
|
var (
|
||||||
Architectures: []string{"amd64"},
|
DefaultArchitecture = "amd64"
|
||||||
|
|
||||||
|
DefaultManifestEntry = Manifest2822Entry{
|
||||||
|
Architectures: []string{DefaultArchitecture},
|
||||||
|
|
||||||
GitFetch: "refs/heads/master",
|
GitFetch: "refs/heads/master",
|
||||||
Directory: ".",
|
Directory: ".",
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
func (entry Manifest2822Entry) Clone() Manifest2822Entry {
|
func (entry Manifest2822Entry) Clone() Manifest2822Entry {
|
||||||
// SLICES! grr
|
// SLICES! grr
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue