mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
fixed setting default node postdown
This commit is contained in:
@@ -253,6 +253,10 @@ func SetNodeDefaults(node *models.Node) {
|
||||
postup := parentNetwork.DefaultPostUp
|
||||
node.PostUp = postup
|
||||
}
|
||||
if node.PostDown == "" {
|
||||
postdown := parentNetwork.DefaultPostDown
|
||||
node.PostDown = postdown
|
||||
}
|
||||
if node.IsStatic == "" {
|
||||
node.IsStatic = "no"
|
||||
}
|
||||
|
Reference in New Issue
Block a user