mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
OpenNebula/terraform-provider-opennebula#331 (cherry picked from commit febcadef8bb807d87f576cb434007c7ee8f251d9)
This commit is contained in:
parent
bd9afc169e
commit
1260f92e05
@ -39,7 +39,7 @@ type VMFilter struct {
|
||||
// NewVMFilterDefault return a VM filter configured by default
|
||||
func NewVMFilterDefault() *VMFilter {
|
||||
return &VMFilter{
|
||||
Who: param.PoolWhoMine,
|
||||
Who: param.PoolWhoAll,
|
||||
StartID: -1,
|
||||
EndID: -1,
|
||||
State: -1,
|
||||
@ -86,7 +86,7 @@ func handleArgs(args []int) ([]interface{}, error) {
|
||||
|
||||
switch len(args) {
|
||||
case 0:
|
||||
who = parameters.PoolWhoMine
|
||||
who = parameters.PoolWhoAll
|
||||
start = -1
|
||||
end = -1
|
||||
case 1:
|
||||
|
@ -74,7 +74,7 @@ func (vc *VirtualNetworksController) Info(args ...int) (*vn.Pool, error) {
|
||||
|
||||
switch len(args) {
|
||||
case 0:
|
||||
who = parameters.PoolWhoMine
|
||||
who = parameters.PoolWhoAll
|
||||
start = -1
|
||||
end = -1
|
||||
case 1:
|
||||
|
@ -74,7 +74,7 @@ func (vc *VirtualRoutersController) Info(args ...int) (*vr.Pool, error) {
|
||||
|
||||
switch len(args) {
|
||||
case 0:
|
||||
who = parameters.PoolWhoMine
|
||||
who = parameters.PoolWhoAll
|
||||
start = -1
|
||||
end = -1
|
||||
case 3:
|
||||
|
Loading…
x
Reference in New Issue
Block a user