node: Use correct scope when getting namespaces
We were using the default scope instead of the entry scope.
This commit is contained in:
parent
88c545bfdd
commit
ebfd445034
|
|
@ -108,7 +108,7 @@ impl Config {
|
||||||
error!(target: "service", "Attempted to fetch blocked repo {rid}");
|
error!(target: "service", "Attempted to fetch blocked repo {rid}");
|
||||||
Err(NamespacesError::BlockedPolicy { rid: *rid })
|
Err(NamespacesError::BlockedPolicy { rid: *rid })
|
||||||
}
|
}
|
||||||
Policy::Track => match self.scope {
|
Policy::Track => match entry.scope {
|
||||||
Scope::All => Ok(Namespaces::All),
|
Scope::All => Ok(Namespaces::All),
|
||||||
Scope::Trusted => {
|
Scope::Trusted => {
|
||||||
let nodes = self
|
let nodes = self
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue