Use references terminology instead of layers.

Signed-off-by: Andrew Leung <anwleung@gmail.com>
This commit is contained in:
Andrew Leung 2018-08-20 10:01:40 -07:00
parent 54aef6251e
commit 5e4b81a578
8 changed files with 29 additions and 29 deletions

View file

@ -72,8 +72,8 @@ type Event struct {
// Tag provides the tag
Tag string `json:"tag,omitempty"`
// Layers provides the layers descriptors.
Layers []distribution.Descriptor `json:"layers,omitempty"`
// References provides the references descriptors.
References []distribution.Descriptor `json:"references,omitempty"`
} `json:"target,omitempty"`
// Request covers the request that generated the event.