go.mod: github.com/opencontainers/runc v1.1.9
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/github.com/opencontainers/runc/libcontainer/user/user.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/opencontainers/runc/libcontainer/user/user.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -201,7 +201,7 @@ func ParseGroupFilter(r io.Reader, filter func(Group) bool) ([]Group, error) {
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				// We should return no error if EOF is reached
 | 
			
		||||
				// without a match.
 | 
			
		||||
				if err == io.EOF { //nolint:errorlint // comparison with io.EOF is legit, https://github.com/polyfloyd/go-errorlint/pull/12
 | 
			
		||||
				if err == io.EOF {
 | 
			
		||||
					err = nil
 | 
			
		||||
				}
 | 
			
		||||
				return out, err
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user