Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ func virtualRouterElementState(cs *cloudstack.CloudStackClient, nsp *cloudstack.
vreID = e.Id
break
}
}

if vreID == "" {
return fmt.Errorf("Service provider element id (nspod) not found: %s.", nsp.Id)
}

Expand Down Expand Up @@ -202,6 +205,9 @@ func internalLbVmElementState(cs *cloudstack.CloudStackClient, nsp *cloudstack.N
ilbeID = e.Id
break
}
}

if ilbeID == "" {
return fmt.Errorf("Service provider element id (nspod) not found: %s.", nsp.Id)
}

Expand Down