Skip to content

Commit 7d7dcab

Browse files
committed
Fix primary id keys in stacks related struct types
1 parent f20568e commit 7d7dcab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

stack_deployment_groups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var _ StackDeploymentGroups = &stackDeploymentGroups{}
4242
// StackDeploymentGroup represents a stack deployment group.
4343
type StackDeploymentGroup struct {
4444
// Attributes
45-
ID string `jsonapi:"primary,stacks-deployment-groups"`
45+
ID string `jsonapi:"primary,stack-deployment-groups"`
4646
Name string `jsonapi:"attr,name"`
4747
Status string `jsonapi:"attr,status"`
4848
CreatedAt time.Time `jsonapi:"attr,created-at,iso8601"`

stack_deployment_runs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var _ StackDeploymentRuns = &stackDeploymentRuns{}
2828

2929
// StackDeploymentRun represents a stack deployment run.
3030
type StackDeploymentRun struct {
31-
ID string `jsonapi:"primary,stacks-deployment-runs"`
31+
ID string `jsonapi:"primary,stack-deployment-runs"`
3232
Status string `jsonapi:"attr,status"`
3333
StartedAt time.Time `jsonapi:"attr,started-at,iso8601"`
3434
CompletedAt time.Time `jsonapi:"attr,completed-at,iso8601"`

stack_deployment_steps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type StackDeploymentSteps interface {
2323
// StackDeploymentStep represents a step from a stack deployment
2424
type StackDeploymentStep struct {
2525
// Attributes
26-
ID string `jsonapi:"primary,stacks-deployment-steps"`
26+
ID string `jsonapi:"primary,stack-deployment-steps"`
2727
Status string `jsonapi:"attr,status"`
2828
CreatedAt time.Time `jsonapi:"attr,created-at,iso8601"`
2929
UpdatedAt time.Time `jsonapi:"attr,created-at,iso8601"`

0 commit comments

Comments
 (0)