ソースを参照

update machineid lib (#1489)

* update machineid lib

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
Manuel Sabban 3 年 前
コミット
2e37d5ce97
3 ファイル変更4 行追加1 行削除
  1. 1 1
      cmd/crowdsec-cli/machines.go
  2. 1 0
      go.mod
  3. 2 0
      go.sum

+ 1 - 1
cmd/crowdsec-cli/machines.go

@@ -14,7 +14,7 @@ import (
 	"github.com/AlecAivazis/survey/v2"
 	"github.com/crowdsecurity/crowdsec/pkg/csconfig"
 	"github.com/crowdsecurity/crowdsec/pkg/database"
-	"github.com/denisbrodbeck/machineid"
+	"github.com/crowdsecurity/machineid"
 	"github.com/enescakir/emoji"
 	"github.com/go-openapi/strfmt"
 	"github.com/olekukonko/tablewriter"

+ 1 - 0
go.mod

@@ -18,6 +18,7 @@ require (
 	github.com/crowdsecurity/grokky v0.0.0-20220120093523-d5b3478363fa
 	github.com/davecgh/go-spew v1.1.1
 	github.com/denisbrodbeck/machineid v1.0.1
+	github.com/crowdsecurity/machineid v1.0.1
 	github.com/dghubble/sling v1.3.0
 	github.com/docker/docker v20.10.2+incompatible
 	github.com/docker/go-connections v0.4.0

+ 2 - 0
go.sum

@@ -137,6 +137,8 @@ github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
 github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
 github.com/crowdsecurity/grokky v0.0.0-20220120093523-d5b3478363fa h1:pcHZgbBbIkNDO1cAgipEgaGeFJ0se+FOPvq6A4d/g9c=
 github.com/crowdsecurity/grokky v0.0.0-20220120093523-d5b3478363fa/go.mod h1:fx5UYUYAFIrOUNAkFCUOM2wJcsp9EWSQE9R0/9kaFJg=
+github.com/crowdsecurity/machineid v1.0.1 h1:N9u9iTuMguVMP5d6/5HaEaOlbrpNAAF2UXeTfQNLBqg=
+github.com/crowdsecurity/machineid v1.0.1/go.mod h1:hf2EmygXSg+gCU8/wX1siiH3ZeGGIzCzSNTYObiskhs=
 github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=