From 6ab57aafa6584433eb48a3f6cfd5cdf32986fc5d Mon Sep 17 00:00:00 2001 From: Erik Hollensbe Date: Mon, 31 Oct 2016 21:07:36 -0700 Subject: [PATCH] api/types/client.go: documentation fix for ImageImportSource Signed-off-by: Erik Hollensbe --- api/types/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/types/client.go b/api/types/client.go index 13ba5f4d1e..3c4eec147a 100644 --- a/api/types/client.go +++ b/api/types/client.go @@ -173,8 +173,8 @@ type ImageCreateOptions struct { // ImageImportSource holds source information for ImageImport type ImageImportSource struct { - Source io.Reader // Source is the data to send to the server to create this image from (mutually exclusive with SourceName) - SourceName string // SourceName is the name of the image to pull (mutually exclusive with Source) + Source io.Reader // Source is the data to send to the server to create this image from. You must set SourceName to "-" to leverage this. + SourceName string // SourceName is the name of the image to pull. Set to "-" to leverage the Source attribute. } // ImageImportOptions holds information to import images from the client host.