Skip to content

Commit

Permalink
Removes unnecessary log line
Browse files Browse the repository at this point in the history
  • Loading branch information
Markcial authored and hackercat committed Dec 3, 2021
1 parent 76f3679 commit ee4dd03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/container/docker_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package container

import (
"context"
"fmt"

"github.com/docker/docker/api/types"
"github.com/nektos/act/pkg/common"
Expand All @@ -15,11 +14,10 @@ func NewDockerNetworkCreateExecutor(name string) common.Executor {
return err
}

network, err := cli.NetworkCreate(ctx, name, types.NetworkCreate{})
_, err = cli.NetworkCreate(ctx, name, types.NetworkCreate{})
if err != nil {
return err
}
fmt.Printf("%#v", network.ID)

return nil
}
Expand Down

0 comments on commit ee4dd03

Please sign in to comment.