fixed windows build - removed test dep
This commit is contained in:
parent
13b5474cd8
commit
934700844c
5 changed files with 6 additions and 29 deletions
|
|
@ -39,9 +39,6 @@ func createAgentConfig(baseurl, agentid, apiurl, token, agentpk, cert, proxy, me
|
|||
viper.Set("meshdir", meshdir)
|
||||
viper.SetConfigPermissions(0660)
|
||||
configLocation := "/etc/tacticalagent"
|
||||
if shared.TEST {
|
||||
configLocation = "tacticalagent"
|
||||
}
|
||||
|
||||
err := viper.SafeWriteConfigAs(configLocation)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue