Merge pull request #2191 from pulumi/chrsmith/fix-minor-issues

Fix issue with converting keys
This commit is contained in:
Matt Ellis 2018-11-12 10:33:17 -08:00 committed by GitHub
commit bbd2172541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,7 +313,7 @@ func (b *cloudBackend) getTarget(ctx context.Context, stackRef backend.StackRefe
}
func convertStepEventMetadata(md engine.StepEventMetadata) apitype.StepEventMetadata {
keys := make([]string, 0, len(md.Keys))
keys := make([]string, len(md.Keys))
for i, v := range md.Keys {
keys[i] = string(v)
}