Skip to content

Commit

Permalink
fix: code clean up
Browse files Browse the repository at this point in the history
Remove unused waitGroup

Signed-off-by: Jim Wang <yutsung.jim.wang@intel.com>
  • Loading branch information
jim-wang-intel committed Mar 4, 2021
1 parent 0913cd8 commit 88047cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/security/bootstrapper/command/setupacl/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const (
)

type cmd struct {
waitGroup *sync.WaitGroup
loggingClient logger.LoggingClient
client internal.HttpCaller
configuration *config.ConfigurationStruct
Expand All @@ -76,7 +75,6 @@ func NewCommand(
conf *config.ConfigurationStruct,
args []string) (interfaces.Command, error) {
cmd := cmd{
waitGroup: &sync.WaitGroup{},
loggingClient: lc,
client: pkg.NewRequester(lc).Insecure(),
configuration: conf,
Expand Down

0 comments on commit 88047cb

Please sign in to comment.