mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
isStatic now only represents whether the Endpoint var is static
This commit is contained in:
@@ -406,8 +406,7 @@ func isDeleteError(err error) bool {
|
||||
}
|
||||
|
||||
func checkNodeActions(node *models.Node) string {
|
||||
if (node.Action == models.NODE_UPDATE_KEY) &&
|
||||
node.IsStatic != "yes" {
|
||||
if node.Action == models.NODE_UPDATE_KEY {
|
||||
err := setWGKeyConfig(node)
|
||||
if err != nil {
|
||||
logger.Log(1, "unable to process reset keys request:", err.Error())
|
||||
|
Reference in New Issue
Block a user