Skip to content

Commit

Permalink
Remove autoscale settings (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khyme authored Mar 27, 2024
1 parent 2685823 commit aed457b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
3 changes: 0 additions & 3 deletions internal/client/queries/create_service.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ mutation CreateService($projectId: ID!, $name: String!, $type: Type!, $resourceC
created
status
vpcId
autoscaleSettings {
enabled
}
spec {
... on TimescaleDBServiceSpec {
hostname
Expand Down
3 changes: 0 additions & 3 deletions internal/client/queries/get_all_services.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ query GetAllServices($projectId: ID!) {
created
status
replicaStatus
autoscaleSettings {
enabled
}
regionCode
spec {
... on TimescaleDBServiceSpec {
Expand Down
3 changes: 0 additions & 3 deletions internal/client/queries/get_service.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ query GetService($projectId: ID!, $serviceId: ID!) {
created
status
replicaStatus
autoscaleSettings {
enabled
}
regionCode
spec {
... on TimescaleDBServiceSpec {
Expand Down
9 changes: 3 additions & 6 deletions internal/client/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ import (
)

type Service struct {
ID string `json:"id"`
ProjectID string `json:"projectId"`
Name string `json:"name"`
AutoscaleSettings struct {
Enabled bool `json:"enabled"`
} `json:"autoscaleSettings"`
ID string `json:"id"`
ProjectID string `json:"projectId"`
Name string `json:"name"`
Status string `json:"status"`
RegionCode string `json:"regionCode"`
Paused bool `json:"paused"`
Expand Down

0 comments on commit aed457b

Please sign in to comment.