mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix watch_client filtering
(cherry picked from commit 590ba0e4eb25c126d59d4df91646f10ec2a5ec6a)
This commit is contained in:
parent
6fc7eac554
commit
e024d57def
@ -154,7 +154,7 @@ module OneWatchClient
|
||||
if filter[:uid]
|
||||
filter[:uid]==0 ? (hosts = pool) : (return nil)
|
||||
elsif filter[:gid]
|
||||
filter[:uid]==0 ? (hosts = pool) : (return nil)
|
||||
filter[:gid]==0 ? (hosts = pool) : (return nil)
|
||||
else
|
||||
hosts = pool
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user