From 4794649b838f5eddc9878b890a3f955cd46b992d Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 3 May 2019 15:08:32 -0400 Subject: [PATCH] Add comment DockerAuthConfig Add comment for DockerAuthConfig. In SystemContext, the fileds value of DockerAuthConfig can be empty. Signed-off-by: Qi Wang --- types/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types/types.go b/types/types.go index 9fdab231..78950434 100644 --- a/types/types.go +++ b/types/types.go @@ -401,6 +401,7 @@ type ImageInspectInfo struct { } // DockerAuthConfig contains authorization information for connecting to a registry. +// the value of Username and Password can be empty for accessing the registry anonymously type DockerAuthConfig struct { Username string Password string