Skip to content

Commit

Permalink
Merge pull request #399 from openinfradev/stack_template_fix
Browse files Browse the repository at this point in the history
trivial. bugfix for application type
  • Loading branch information
ktkfree authored Apr 18, 2024
2 parents 4623122 + f8b567c commit 1fc60ac
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkg/domain/app-group.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ type AppGroupResponse = struct {
}

type ApplicationResponse = struct {
ID uuid.UUID `json:"id"`
AppGroupId AppGroupId `json:"appGroupId"`
Endpoint string `json:"endpoint"`
Metadata string `json:"metadata"`
ApplicationType ApplicationType `json:"applicationType"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
ID uuid.UUID `json:"id"`
AppGroupId AppGroupId `json:"appGroupId"`
Endpoint string `json:"endpoint"`
Metadata string `json:"metadata"`
Type ApplicationType `json:"applicationType"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}

type CreateAppGroupRequest struct {
Expand All @@ -151,9 +151,9 @@ type CreateAppGroupResponse struct {
}

type CreateApplicationRequest struct {
ApplicationType string `json:"applicationType"`
Endpoint string `json:"endpoint"`
Metadata string `json:"metadata"`
Type string `json:"applicationType"`
Endpoint string `json:"endpoint"`
Metadata string `json:"metadata"`
}

type GetAppGroupsResponse struct {
Expand Down

0 comments on commit 1fc60ac

Please sign in to comment.