fixed for build
This commit is contained in:
parent
e20edcc9ad
commit
f0cb4f4b3f
2 changed files with 4 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ func (a *Agent) RecoverMesh() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *Agent) getMeshNodeID() (string, error) {
|
func (a *Agent) getMeshNodeID() (string, error) {
|
||||||
out, err := CMD(a.MeshSystemEXE, []string{"-nodeid"}, 10, false)
|
out, err := CMD(a.MeshSystemBin, []string{"-nodeid"}, 10, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
a.Logger.Debugln(err)
|
a.Logger.Debugln(err)
|
||||||
return "", err
|
return "", err
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
//go:build !windows
|
||||||
|
// +build !windows
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2022 AmidaWare LLC.
|
Copyright 2022 AmidaWare LLC.
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue