Skip to content

Commit

Permalink
Added logic to reset assocGrp while creating BrkoutMap
Browse files Browse the repository at this point in the history
  • Loading branch information
sajagana authored and lhercot committed Apr 5, 2023
1 parent 176bc10 commit a27a654
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions models/infra_port_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ func (infraPortConfig *InfraPortConfiguration) ToMap() (map[string]string, error
A(infraPortConfigMap, "role", infraPortConfig.Role)
A(infraPortConfigMap, "shutdown", infraPortConfig.Shutdown)
A(infraPortConfigMap, "subPort", infraPortConfig.SubPort)

if infraPortConfig.BrkoutMap != "" && infraPortConfig.BrkoutMap != "none" {
infraPortConfigMap["assocGrp"] = ""
}

return infraPortConfigMap, err
}

Expand Down

0 comments on commit a27a654

Please sign in to comment.