Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
resources: updating when local resource registry changes (no version …
Browse files Browse the repository at this point in the history
…bump)
  • Loading branch information
vaclavblazek committed Sep 5, 2019
1 parent 9fd7bfc commit 4b9e47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapproxy/src/mapproxy/resource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,6 @@ Changed Resource::changed(const Resource &o) const
return Changed::yes;
}

// TODO: registry ?

// check definition, it must check mandatory stuff first, save stuff
// second
auto def(definition_->changed(*o.definition()));
Expand All @@ -543,6 +541,8 @@ Changed Resource::changed(const Resource &o) const

if (changedCredits) { return Changed::safely; }

if (registry != o.registry) { return Changed::safely; }

// not changed at all
return Changed::no;
}
Expand Down

0 comments on commit 4b9e47d

Please sign in to comment.