[fix]: fix goreleaser #39
Annotations
10 errors and 7 warnings
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L269
unknown field IdTurnOn in struct literal of type "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".AlarmRuleParam
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L282
cannot use int32(d.Get("period").(int)) (value of type int32) as "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".AlarmRuleParamPeriod value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L284
cannot use d.Get("comparison_operator").(string) (comma, ok expression of type string) as "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".AlarmRuleParamComparisonOperator value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L373
cannot use buildAlarmLevelOpts(d.Get("alarm_level").(int)) (value of type *"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".UpdateAlarmRuleParamAlarmLevel) as "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".UpdateAlarmRuleParamAlarmLevel value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L375
unknown field IdTurnOn in struct literal of type "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".UpdateAlarmRuleParam
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L379
cannot use utils.String(d.Get("namespace").(string)) (value of type *string) as string value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L380
cannot use utils.String(d.Get("metric_name").(string)) (value of type *string) as string value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L381
cannot use &dimensions (value of type *[]"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".Dimension) as []"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".Dimension value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L382
cannot use utils.Int32(int32(d.Get("period").(int))) (value of type *int32) as "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/aom/v2/model".UpdateAlarmRuleParamPeriod value in struct literal
|
goreleaser:
vendor/github.com/huaweicloud/terraform-provider-huaweicloud/huaweicloud/services/aom/resource_huaweicloud_aom_alarm_rule.go#L383
cannot use utils.String(d.Get("unit").(string)) (value of type *string) as string value in struct literal
|
goreleaser
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, paultyng/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
goreleaser
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, paultyng/[email protected], goreleaser/goreleaser-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/
|
goreleaser
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
goreleaser
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
goreleaser
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
goreleaser
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
goreleaser
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|