Loading go-apps/meep-tm/server/bwm/bwm.go +2 −2 Original line number Diff line number Diff line Loading @@ -1061,7 +1061,7 @@ func bandwidthAllocationPost(w http.ResponseWriter, r *http.Request) { // In APPLICATION_SPECIFIC_BW_ALLOCATION OR SESSION_SPECIFIC_BW_ALLOCATION // Uplink, Downlink and Symmetrical bandwidth allocation is performed if bwInfo.AllocationDirection != "" { err = bandwidthResourceAllocation(bwInfo, w) err = bandwidthResourceAllocation(&bwInfo, w) if err != nil { log.Error(err.Error()) return Loading Loading @@ -1996,7 +1996,7 @@ func compareSessionFilters(key string, jsonInfo string, sessionFilterList interf return nil } func bandwidthResourceAllocation(bwInfo BwInfo, w http.ResponseWriter) error { func bandwidthResourceAllocation(bwInfo *BwInfo, w http.ResponseWriter) error { switch bwInfo.AllocationDirection { case "00": // getting downlink buffer value from redis to update Loading Loading
go-apps/meep-tm/server/bwm/bwm.go +2 −2 Original line number Diff line number Diff line Loading @@ -1061,7 +1061,7 @@ func bandwidthAllocationPost(w http.ResponseWriter, r *http.Request) { // In APPLICATION_SPECIFIC_BW_ALLOCATION OR SESSION_SPECIFIC_BW_ALLOCATION // Uplink, Downlink and Symmetrical bandwidth allocation is performed if bwInfo.AllocationDirection != "" { err = bandwidthResourceAllocation(bwInfo, w) err = bandwidthResourceAllocation(&bwInfo, w) if err != nil { log.Error(err.Error()) return Loading Loading @@ -1996,7 +1996,7 @@ func compareSessionFilters(key string, jsonInfo string, sessionFilterList interf return nil } func bandwidthResourceAllocation(bwInfo BwInfo, w http.ResponseWriter) error { func bandwidthResourceAllocation(bwInfo *BwInfo, w http.ResponseWriter) error { switch bwInfo.AllocationDirection { case "00": // getting downlink buffer value from redis to update Loading