Skip to content

Commit

Permalink
guestdrivers: managed: use const api.EIP_STATUS_ASSOCIATE
Browse files Browse the repository at this point in the history
  • Loading branch information
yousong committed May 20, 2020
1 parent ef695ac commit df2d98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compute/guestdrivers/managedvirtual.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ func (self *SManagedVirtualizedGuestDriver) RequestAssociateEip(ctx context.Cont
return nil, fmt.Errorf("ManagedVirtualizedGuestDriver.RequestAssociateEip fail to local associate EIP %s", err)
}

eip.SetStatus(userCred, api.EIP_STATUS_READY, "associate")
eip.SetStatus(userCred, api.EIP_STATUS_READY, api.EIP_STATUS_ASSOCIATE)
return nil, nil
})

Expand Down

0 comments on commit df2d98d

Please sign in to comment.