mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-21 07:46:04 +08:00
Blank access keys before writing config.
This commit is contained in:
parent
eec81e1849
commit
85c4080661
|
@ -72,6 +72,7 @@ func Pull(network string, iface bool) (*models.Node, error) {
|
|||
}
|
||||
informPortChange(&resNode)
|
||||
}
|
||||
resNode.AccessKey = "" // don't store the access key on disk
|
||||
if err = config.ModNodeConfig(&resNode); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue