mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-17 03:38:18 +00:00
Fix missing check on set entity certification (#18713)
This commit is contained in:
parent
6623ab17dc
commit
890a4f8755
@ -54,8 +54,8 @@ public class SetEntityCertificationImpl implements JavaDelegate {
|
||||
if (oCertification.isEmpty()) {
|
||||
entity.setCertification(null);
|
||||
} else {
|
||||
|
||||
if (oCertification.get().equals(oEntityCertification.get().getTagLabel().getTagFQN())) {
|
||||
if (oEntityCertification.isPresent()
|
||||
&& oCertification.get().equals(oEntityCertification.get().getTagLabel().getTagFQN())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user