Skip to content

Commit

Permalink
Fix assignment to nil map
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo J. Ortega U <5791035+ejortegau@users.noreply.github.com>
  • Loading branch information
ejortegau committed Oct 18, 2024
1 parent e9fda77 commit 8a196c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/vtctl/reparentutil/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ func stopReplicationAndBuildStatusMaps(
statusMap: map[string]*replicationdatapb.StopReplicationStatus{},
primaryStatusMap: map[string]*replicationdatapb.PrimaryStatus{},
reachableTablets: []*topodatapb.Tablet{},
backingUpTablets: map[string]bool{},
}
)

Expand Down

0 comments on commit 8a196c9

Please sign in to comment.