Skip to content

Commit

Permalink
Update drsm/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: gab-arrobo <[email protected]>
  • Loading branch information
thakurajayL and gab-arrobo authored Jan 14, 2025
1 parent fff50c9 commit 4d97f6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drsm/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ func (d *Drsm) FindOwnerInt32ID(id int32) (*PodId, error) {
func (d *Drsm) AcquireIp(pool string) (string, error) {
if d.mode == ResourceDemux {
logger.DrsmLog.Errorln("demux mode can not allocate Ip")
err := fmt.Errorf("demux mode does not allow Resource allocation")
return "", err
return "", fmt.Errorf("demux mode does not allow Resource allocation")
}
return d.acquireIp(pool)
}
Expand Down

0 comments on commit 4d97f6a

Please sign in to comment.