Skip to content

Commit

Permalink
Remove version_set_id from CompatibleVersionSet (temporalio#4170)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergundy authored and samanbarghi committed Apr 17, 2023
1 parent b76d5c7 commit 352bbf1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions service/matching/version_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
"fmt"

"github.com/dgryski/go-farm"
"github.com/pborman/uuid"
"go.temporal.io/api/serviceerror"
taskqueuepb "go.temporal.io/api/taskqueue/v1"
"go.temporal.io/api/workflowservice/v1"
Expand Down Expand Up @@ -116,8 +115,7 @@ func updateImpl(existingData *persistence.VersioningData, req *workflowservice.U
}

existingData.VersionSets = append(existingData.GetVersionSets(), &taskqueuepb.CompatibleVersionSet{
VersionSetId: uuid.New(),
BuildIds: []string{targetedVersion},
BuildIds: []string{targetedVersion},
})
} else if addNew := req.GetAddNewCompatibleBuildId(); addNew != nil {
compatVer := addNew.GetExistingCompatibleBuildId()
Expand Down

0 comments on commit 352bbf1

Please sign in to comment.