Ver código fonte

client: normalize comment formatting

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 anos atrás
pai
commit
a567ae3c31
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      client/image_import.go

+ 1 - 1
client/image_import.go

@@ -14,7 +14,7 @@ import (
 // It returns the JSON content in the response body.
 // 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) {
 func (cli *Client) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error) {
 	if ref != "" {
 	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 {
 		if _, err := reference.ParseNormalizedNamed(ref); err != nil {
 			return nil, err
 			return nil, err
 		}
 		}