1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

The logName is confused here, it's a localName actually.

Signed-off-by: huanzhong zhang <zhanghuanzhong90@gmail.com>
This commit is contained in:
huanzhong zhang 2015-12-15 15:21:28 +08:00
parent a398536d5e
commit badfc7e10f

View file

@ -97,7 +97,7 @@ func Pull(ctx context.Context, ref reference.Named, imagePullConfig *ImagePullCo
return err return err
} }
logName := registry.NormalizeLocalReference(ref) localName := registry.NormalizeLocalReference(ref)
var ( var (
// use a slice to append the error strings and return a joined string to caller // use a slice to append the error strings and return a joined string to caller
@ -149,7 +149,7 @@ func Pull(ctx context.Context, ref reference.Named, imagePullConfig *ImagePullCo
} }
} }
imagePullConfig.EventsService.Log("pull", logName.String(), "") imagePullConfig.EventsService.Log("pull", localName.String(), "")
return nil return nil
} }