Merge pull request #2609 from Callisto13/pr-fix-typos
Fix teeny tiny typos
This commit is contained in:
		@@ -204,7 +204,7 @@ func (r *Runtime) Create(ctx context.Context, id string, opts runtime.CreateOpts
 | 
			
		||||
				log.G(ctx).WithError(err).WithFields(logrus.Fields{
 | 
			
		||||
					"id":        id,
 | 
			
		||||
					"namespace": namespace,
 | 
			
		||||
				}).Warn("failed to clen up after killed shim")
 | 
			
		||||
				}).Warn("failed to clean up after killed shim")
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		shimopt = ShimRemote(r.config, r.address, cgroup, exitHandler)
 | 
			
		||||
 
 | 
			
		||||
@@ -42,7 +42,7 @@ func CreateUnixSocket(path string) (net.Listener, error) {
 | 
			
		||||
	return net.Listen("unix", path)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// GetLocalListener returns a listerner out of a unix socket.
 | 
			
		||||
// GetLocalListener returns a listener out of a unix socket.
 | 
			
		||||
func GetLocalListener(path string, uid, gid int) (net.Listener, error) {
 | 
			
		||||
	// Ensure parent directory is created
 | 
			
		||||
	if err := mkdirAs(filepath.Dir(path), uid, gid); err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user