diff options
author | Valerij Fredriksen <valerij92@gmail.com> | 2021-04-26 13:05:28 +0200 |
---|---|---|
committer | Valerij Fredriksen <valerij92@gmail.com> | 2021-04-26 13:07:00 +0200 |
commit | 08b0fc3c1cdde7bb5a7222b8761bee5a3922e4ae (patch) | |
tree | 94e217c4b593d527f71741a77ed3effa89ce139e /controller-server | |
parent | dff81d5dc8593cde68c5d6e04250e8cf95fad891 (diff) |
Ignore run number in NotificationSource::equals
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationSource.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationSource.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationSource.java index 2e7f1948eed..827b5a71eb1 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationSource.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/notification/NotificationSource.java @@ -97,8 +97,7 @@ public class NotificationSource { if (o == null || getClass() != o.getClass()) return false; NotificationSource that = (NotificationSource) o; return tenant.equals(that.tenant) && application.equals(that.application) && instance.equals(that.instance) && - zoneId.equals(that.zoneId) && clusterId.equals(that.clusterId) && jobType.equals(that.jobType) && - runNumber.equals(that.runNumber); + zoneId.equals(that.zoneId) && clusterId.equals(that.clusterId) && jobType.equals(that.jobType); // Do not consider run number (it's unique!) } @Override |