From 846328977e1b0d1872cab0cd5fb2494e369e6478 Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Thu, 11 Feb 2016 10:26:05 -0800 Subject: [PATCH] Reference name rather than repository in reference grammar Signed-off-by: Richard Scothern --- reference/reference.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/reference.go b/reference/reference.go index c188472a..4d04b1c8 100644 --- a/reference/reference.go +++ b/reference/reference.go @@ -3,7 +3,7 @@ // // Grammar // -// reference := repository [ ":" tag ] [ "@" digest ] +// reference := name [ ":" tag ] [ "@" digest ] // name := [hostname '/'] component ['/' component]* // hostname := hostcomponent ['.' hostcomponent]* [':' port-number] // hostcomponent := /([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])/