1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #331: Fix default scope (#2294)

OpenNebula/terraform-provider-opennebula#331

(cherry picked from commit febcadef8bb807d87f576cb434007c7ee8f251d9)
This commit is contained in:
onenhansen 2022-10-04 02:34:32 -06:00 committed by Tino Vázquez
parent bd9afc169e
commit 1260f92e05
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
3 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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: