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

B #331: Fix default scope (#2294)

OpenNebula/terraform-provider-opennebula#331
This commit is contained in:
onenhansen 2022-10-04 02:34:32 -06:00 committed by GitHub
parent 304126d9b0
commit febcadef8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: