Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

feat: added additional fields to shipping method resource #121

feat: added additional fields to shipping method resource

feat: added additional fields to shipping method resource #121

Triggered via pull request October 22, 2024 10:23
Status Failure
Total duration 3m 43s
Artifacts

pull-requests.yml

on: pull_request
Matrix: acceptance-tests
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 5 warnings
unit-tests: commercelayer/resource_shipping_method.go#L197
unknown field ExternalPricesUrl in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
unit-tests: commercelayer/resource_shipping_method.go#L200
unknown field UseSubtotal in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
unit-tests: commercelayer/resource_shipping_method.go#L213
shippingMethodCreate.Data.Attributes.Disable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Disable)
unit-tests: commercelayer/resource_shipping_method.go#L215
shippingMethodCreate.Data.Attributes.Enable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Enable)
unit-tests: commercelayer/resource_shipping_method.go#L238
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
unit-tests: commercelayer/resource_shipping_method.go#L299
unknown field ExternalPricesUrl in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
unit-tests: commercelayer/resource_shipping_method.go#L302
unknown field UseSubtotal in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
unit-tests: commercelayer/resource_shipping_method.go#L340
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
unit-tests
Process completed with exit code 1.
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L197
unknown field ExternalPricesUrl in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L200
unknown field UseSubtotal in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L213
shippingMethodCreate.Data.Attributes.Disable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Disable)
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L215
shippingMethodCreate.Data.Attributes.Enable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Enable)
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L238
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L299
unknown field ExternalPricesUrl in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L302
unknown field UseSubtotal in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
acceptance-tests (terraform 1.1.*): commercelayer/resource_shipping_method.go#L340
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
acceptance-tests (terraform 1.1.*)
Process completed with exit code 1.
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L197
unknown field ExternalPricesUrl in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L200
unknown field UseSubtotal in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L213
shippingMethodCreate.Data.Attributes.Disable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Disable)
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L215
shippingMethodCreate.Data.Attributes.Enable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Enable)
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L238
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L299
unknown field ExternalPricesUrl in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L302
unknown field UseSubtotal in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
acceptance-tests (terraform 1.2.*): commercelayer/resource_shipping_method.go#L340
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
acceptance-tests (terraform 1.2.*)
Process completed with exit code 1.
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L197
unknown field ExternalPricesUrl in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L200
unknown field UseSubtotal in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L213
shippingMethodCreate.Data.Attributes.Disable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Disable)
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L215
shippingMethodCreate.Data.Attributes.Enable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Enable)
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L238
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L299
unknown field ExternalPricesUrl in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L302
unknown field UseSubtotal in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
acceptance-tests (terraform 1.0.*): commercelayer/resource_shipping_method.go#L340
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
acceptance-tests (terraform 1.0.*)
Process completed with exit code 1.
lint: main.go#L6
could not import github.com/incentro-dc/terraform-provider-commercelayer/commercelayer (-: # github.com/incentro-dc/terraform-provider-commercelayer/commercelayer
lint: commercelayer/resource_shipping_method.go#L197
unknown field ExternalPricesUrl in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
lint: commercelayer/resource_shipping_method.go#L200
unknown field UseSubtotal in struct literal of type api.POSTShippingMethods201ResponseDataAttributes
lint: commercelayer/resource_shipping_method.go#L213
shippingMethodCreate.Data.Attributes.Disable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Disable)
lint: commercelayer/resource_shipping_method.go#L215
shippingMethodCreate.Data.Attributes.Enable undefined (type api.POSTShippingMethods201ResponseDataAttributes has no field or method Enable)
lint: commercelayer/resource_shipping_method.go#L238
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory
lint: commercelayer/resource_shipping_method.go#L299
unknown field ExternalPricesUrl in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
lint: commercelayer/resource_shipping_method.go#L302
unknown field UseSubtotal in struct literal of type api.PATCHShippingMethodsShippingMethodId200ResponseDataAttributes
lint: commercelayer/resource_shipping_method.go#L340
undefined: commercelayer.ShipmentCreateDataRelationshipsShippingCategory) (typecheck)
lint: commercelayer/provider.go#L1
: # github.com/incentro-dc/terraform-provider-commercelayer/commercelayer [github.com/incentro-dc/terraform-provider-commercelayer/commercelayer.test]
unit-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
acceptance-tests (terraform 1.1.*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, hashicorp/setup-terraform@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
acceptance-tests (terraform 1.2.*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, hashicorp/setup-terraform@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
acceptance-tests (terraform 1.0.*)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, hashicorp/setup-terraform@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/