Skip to content

Commit

Permalink
Update plugincontainer/container_runner_linux.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Proctor <[email protected]>
  • Loading branch information
swenson and tomhjp committed Nov 14, 2023
1 parent 7a6f84f commit c8ec7e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugincontainer/container_runner_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ type containerRunner struct {

// NewContainerRunner must be passed a cmd that hasn't yet been started.
func (cfg *Config) NewContainerRunner(logger hclog.Logger, cmd *exec.Cmd, hostSocketDir string) (runner.Runner, error) {
if runtime.GOOS != "linux" {
return nil, ErrUnsupportedOS
}

if cfg.Image == "" {
return nil, errors.New("must provide an image")
Expand Down

0 comments on commit c8ec7e0

Please sign in to comment.