Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Feb 2, 2025
1 parent 125d2d1 commit a0e18f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/schemaservice/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ func (r *SchemaState) GetDeployment(deployment key.Deployment, changeset optiona
if key, ok := changeset.Get(); ok {
cs := r.changesets[key]
for _, m := range cs.Modules {
return m, nil
if m.GetRuntime().Deployment.DeploymentKey == deployment {
return m, nil
}
}
}
d, ok := r.deployments[deployment.Payload.Module]
Expand Down

0 comments on commit a0e18f2

Please sign in to comment.