Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] interface conversion of metadata error sometimes occurs when running score-compose against existing state #38

Closed
astromechza opened this issue May 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@astromechza
Copy link
Member

astromechza commented May 20, 2024

This generally occurred when running multiple score files, along with resources that use the metadata annotations state.

Error: failed to provision: resource 'amqp.default#rabbitmq': 
	failed to provision: 
		init template failed: 
			failed to execute template: template: :6:16: executing "" at <dig "annotations" "compose.score.dev/publish-port" "0" .Metadata>: 
				error calling dig: interface conversion: interface {} is types.ResourceMetadata, not map[string]interface {}

A similar issue has been found and fixed in score-k8s in score-spec/score-k8s@283b80f#diff-bcf8c86f9240e3ab822aa3a642e8bcbdca9bf042dba3d5e0ce4a25048386cb5cL25

@astromechza astromechza added the bug Something isn't working label May 20, 2024
@astromechza astromechza self-assigned this May 20, 2024
@astromechza astromechza transferred this issue from score-spec/score-compose May 20, 2024
@astromechza
Copy link
Member Author

Fixed in #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant