From 0d8a1cba357e5b194ca98d3fdb03ba58176ebb8a Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 10 Jan 2018 10:45:39 -0500 Subject: [PATCH] Be more explicit about tarball: NewImageDestination failing Don't imply that we're planning on adding writing to the tarball: transport. Signed-off-by: Nalin Dahyabhai --- tarball/tarball_reference.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarball/tarball_reference.go b/tarball/tarball_reference.go index 4ccfb40630..a0819ac580 100644 --- a/tarball/tarball_reference.go +++ b/tarball/tarball_reference.go @@ -89,5 +89,5 @@ func (r *tarballReference) DeleteImage(ctx *types.SystemContext) error { } func (r *tarballReference) NewImageDestination(ctx *types.SystemContext) (types.ImageDestination, error) { - return nil, fmt.Errorf("destination not implemented yet") + return nil, fmt.Errorf(`"tarball:" locations can only be read from, not written to`) }