Align code to match order of fields
This is just cosmetic; alighn the fields with the order in which they appear in the struct (and JSON output). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
86cd830fb3
commit
19233195b7
9 changed files with 29 additions and 29 deletions
|
@ -150,9 +150,9 @@ func (b *bridge) createManifestEvent(action string, repo reference.Named, sm dis
|
|||
}
|
||||
|
||||
event.Target.MediaType = mt
|
||||
event.Target.Length = desc.Size
|
||||
event.Target.Size = desc.Size
|
||||
event.Target.Digest = desc.Digest
|
||||
event.Target.Size = desc.Size
|
||||
event.Target.Length = desc.Size
|
||||
if b.includeReferences {
|
||||
event.Target.References = append(event.Target.References, manifest.References()...)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue