node: Use correct scope when getting namespaces

We were using the default scope instead of the entry scope.
This commit is contained in:
Alexis Sellier 2023-03-16 13:15:17 +01:00
parent 88c545bfdd
commit ebfd445034
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ impl Config {
error!(target: "service", "Attempted to fetch blocked repo {rid}");
Err(NamespacesError::BlockedPolicy { rid: *rid })
}
Policy::Track => match self.scope {
Policy::Track => match entry.scope {
Scope::All => Ok(Namespaces::All),
Scope::Trusted => {
let nodes = self