Skip to content

Commit 2b4d074

Browse files
committed
update var names
1 parent 54f9285 commit 2b4d074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cmds/sync.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ func Sync() error {
4343
for ind, localSplit := range localSchema.Splits {
4444
remoteSplit, exists := splitRegistry.Splits[localSplit.Name]
4545
if exists {
46-
weights := splits.Weights(remoteSplit.Weights)
47-
localSchema.Splits[ind].Weights = weights.ToYAML()
46+
remoteWeights := splits.Weights(remoteSplit.Weights)
47+
localSchema.Splits[ind].Weights = remoteWeights.ToYAML()
4848
}
4949
}
5050

0 commit comments

Comments
 (0)