Skip to content

Commit 03fa330

Browse files
authored
fix:实例重注册问题修复 (#872)
1 parent 8e59eb1 commit 03fa330

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

store/sqldb/instance.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,9 +904,9 @@ func batchDeleteInstanceMeta(tx *BaseTx, instances []*model.Instance) error {
904904
builder := strings.Builder{}
905905
for _, entry := range instances {
906906
// If instance is first registration, no need to participate in the following METADATA cleaning action
907-
if entry.FirstRegis {
908-
continue
909-
}
907+
// if entry.FirstRegis {
908+
// continue
909+
// }
910910

911911
ids = append(ids, entry.ID())
912912

0 commit comments

Comments
 (0)