Browse Source

changing default failover value

afeiszli 2 years ago
parent
commit
6dcd801941
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/node.go

+ 1 - 1
models/node.go

@@ -301,7 +301,7 @@ func (node *Node) SetDefaultName() {
 // Node.SetDefaultFailover - sets default value of failover status to no if not set
 func (node *Node) SetDefaultFailover() {
 	if node.Failover == "" {
-		node.Failover = "yes"
+		node.Failover = "no"
 	}
 }