Fix copy/paste bug in provider_server.go (#6370)

This commit is contained in:
Justin Van Patten 2021-02-17 16:56:47 -08:00 committed by GitHub
parent 82967d3272
commit 8d5e9bcd6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -423,7 +423,7 @@ func (p *providerServer) Construct(ctx context.Context,
aliases[i] = resource.URN(urn)
}
dependencies := make([]resource.URN, len(req.GetDependencies()))
for i, urn := range req.GetAliases() {
for i, urn := range req.GetDependencies() {
dependencies[i] = resource.URN(urn)
}
propertyDependencies := map[resource.PropertyKey][]resource.URN{}