Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Sep 29, 2024
1 parent 9a739f4 commit 2334df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/rpc_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (tm *TabletManager) ChangeTags(ctx context.Context, tabletTags map[string]s
defer tm.unlock()

tags := tm.tmState.Tablet().Tags
if replace {
if replace || len(tags) == 0 {
tags = tabletTags
} else {
for key, val := range tabletTags {
Expand Down

0 comments on commit 2334df5

Please sign in to comment.