Skip to content

Commit

Permalink
some aesthetic variable name change
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedMagdyCoretech committed Nov 28, 2024
1 parent fd32aad commit d65de8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions usecases/cem/opev/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ func (e *OPEV) CurrentLimits(entity spineapi.EntityRemoteInterface) ([]float64,
if measId == nil {
return nil, nil, nil, api.ErrDataNotAvailable
}
filter := model.MeasurementDescriptionDataType{
md := model.MeasurementDescriptionDataType{
MeasurementId: measId,
}
measDescs = append(measDescs, filter)
measDescs = append(measDescs, md)
}
return ec.GetPhaseCurrentLimits(measDescs)
}
Expand Down
4 changes: 2 additions & 2 deletions usecases/cem/oscev/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ func (e *OSCEV) CurrentLimits(entity spineapi.EntityRemoteInterface) ([]float64,
if measId == nil {
return nil, nil, nil, api.ErrDataNotAvailable
}
filter := model.MeasurementDescriptionDataType{
md := model.MeasurementDescriptionDataType{
MeasurementId: measId,
}
measDescs = append(measDescs, filter)
measDescs = append(measDescs, md)
}
return ec.GetPhaseCurrentLimits(measDescs)
}
Expand Down

0 comments on commit d65de8d

Please sign in to comment.