Skip to content

Commit

Permalink
Fix windows build after using WaitGroup
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Trangoni <[email protected]>
  • Loading branch information
mjtrangoni committed Mar 8, 2020
1 parent fd0399a commit 468240a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@

# Binaries
flexlm_exporter
flexlm_exporter.exe
6 changes: 6 additions & 0 deletions collector/lmstat_feature_exp_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ import (
"sort"
"strconv"
"strings"
"sync"
"time"

"github.com/mjtrangoni/flexlm_exporter/config"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/log"
)

const (
lenghtOne = 1
)

func parseLmstatLicenseFeatureExpDate(outStr [][]string) map[int]*featureExp {
featuresExp := make(map[int]*featureExp)
var expires float64
Expand Down
2 changes: 2 additions & 0 deletions collector/lmstat_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import (
"os/exec"
"strconv"
"strings"
"sync"

"github.com/mjtrangoni/flexlm_exporter/config"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/log"
)
Expand Down

0 comments on commit 468240a

Please sign in to comment.