mirror of https://github.com/halo-dev/halo
fix: equals and hash code for unstructured metadata (#7382)
#### What type of PR is this?
/kind bug
/area core
/milestone 2.20.x
#### What this PR does / why we need it:
修复 Unstructured Metadata 的 equals hashcode 排除 version,这可能是之前误操作提交的
ed50a0224d/api/src/main/java/run/halo/app/extension/Unstructured.java (L75)
#### Does this PR introduce a user-facing change?
```release-note
None
```
pull/7386/head
parent
4235fd1eda
commit
ee064f505b
|
@ -72,7 +72,7 @@ public class Unstructured implements Extension {
|
|||
return new UnstructuredMetadata();
|
||||
}
|
||||
|
||||
@EqualsAndHashCode(exclude = "tatersion")
|
||||
@EqualsAndHashCode(exclude = "version")
|
||||
class UnstructuredMetadata implements MetadataOperator {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue