summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-11-27 15:44:49 +0100
committerSebastiaan van Stijn <github@gone.nl>2019-11-27 15:44:49 +0100
commita567ae3c31c4d3b71ab34dac4dc70314c5de65ac (patch)
treea40d92030babc75c00b3e5e724548af6128fd4e3
parent2deeb6ad9640761bf017b522b0fa4ae56fae8a1f (diff)
downloaddocker-a567ae3c31c4d3b71ab34dac4dc70314c5de65ac.tar.gz
client: normalize comment formatting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
-rw-r--r--client/image_import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/image_import.go b/client/image_import.go
index c2972ea950..d3336d4106 100644
--- a/client/image_import.go
+++ b/client/image_import.go
@@ -14,7 +14,7 @@ import (
// It returns the JSON content in the response body.
func (cli *Client) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error) {
if ref != "" {
- //Check if the given image name can be resolved
+ // Check if the given image name can be resolved
if _, err := reference.ParseNormalizedNamed(ref); err != nil {
return nil, err
}