mirror of https://github.com/containers/podman.git
				
				
				
			Fix the pkg/specgen/SpecGenerator.getSeccompConfig stub
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
		
							parent
							
								
									7a095af92a
								
							
						
					
					
						commit
						036531c006
					
				|  | @ -3,10 +3,11 @@ | ||||||
| package specgen | package specgen | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
|  | 	"github.com/containers/libpod/libpod/image" | ||||||
| 	spec "github.com/opencontainers/runtime-spec/specs-go" | 	spec "github.com/opencontainers/runtime-spec/specs-go" | ||||||
| 	"github.com/pkg/errors" | 	"github.com/pkg/errors" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec) (*spec.LinuxSeccomp, error) { | func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *image.Image) (*spec.LinuxSeccomp, error) { | ||||||
| 	return nil, errors.New("function not supported on non-linux OS's") | 	return nil, errors.New("function not supported on non-linux OS's") | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue