v1.8.0
This commit is contained in:
@@ -26,6 +26,7 @@ type IPReleaseRequest struct {
|
||||
// IPRelese delete IP reservation matched by specified IP & MAC address combination.
|
||||
// If both IP and MAC address are empty strings, all IP reservations will be deleted.
|
||||
func (v VINS) IPRelese(ctx context.Context, req IPReleaseRequest) (bool, error) {
|
||||
|
||||
err := validators.ValidateRequest(req)
|
||||
if err != nil {
|
||||
return false, validators.ValidationErrors(validators.GetErrors(err))
|
||||
|
||||
Reference in New Issue
Block a user