Skip to content

Commit f2ab83b

Browse files
authored
fix: initialize tags mapping for instances without tags
1 parent ea5c397 commit f2ab83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/master.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ func (m *Master) loadState() {
767767
}
768768

769769
// 初始化标签映射
770-
if instance.Meta.Tags == nil && instance.ID != apiKeyID {
770+
if instance.Meta.Tags == nil {
771771
instance.Meta.Tags = make(map[string]string)
772772
}
773773

0 commit comments

Comments
 (0)