Fix Typo to improve GoReport
Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
This commit is contained in:
parent
4311020c36
commit
1442ba988a
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// GetDiff returns the differences betwen the two images, layers, or containers
|
||||
// GetDiff returns the differences between the two images, layers, or containers
|
||||
func (c *ContainerServer) GetDiff(from, to string) ([]archive.Change, error) {
|
||||
toLayer, err := c.getLayerID(to)
|
||||
if err != nil {
|
||||
|
|
|
@ -250,7 +250,7 @@ func ensureSaneLogPath(logPath string) error {
|
|||
// symlink and we need to remove it.
|
||||
fi, err := os.Lstat(logPath)
|
||||
if err != nil || fi.Mode()&os.ModeSymlink == 0 {
|
||||
// Non-existant files and non-symlinks aren't our problem.
|
||||
// Non-existent files and non-symlinks aren't our problem.
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ func (s *Server) PullImage(ctx context.Context, req *pb.PullImageRequest) (*pb.P
|
|||
options := ©.Options{
|
||||
SourceCtx: &types.SystemContext{},
|
||||
}
|
||||
// Specifiying a username indicates the user intends to send authentication to the registry.
|
||||
// Specifying a username indicates the user intends to send authentication to the registry.
|
||||
if username != "" {
|
||||
options.SourceCtx = &types.SystemContext{
|
||||
DockerAuthConfig: &types.DockerAuthConfig{
|
||||
|
|
Loading…
Reference in a new issue