Browse Source

fix

Signed-off-by: jagger <cossjie@foxmail.com>
pull/343/head
jagger 1 year ago
parent
commit
46c7a9e010
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      desc/core/pcm-core.api
  2. +1
    -1
      internal/types/types.go

+ 1
- 1
desc/core/pcm-core.api View File

@@ -902,7 +902,7 @@ type (
}
ClusterInfo {
Id string `json:"id,omitempty" db:"id"`
AdapterId int64 `json:"adapterId,omitempty" db:"adapter_id"`
AdapterId int64 `json:"adapterId,omitempty,string" db:"adapter_id"`
Name string `json:"name,omitempty" db:"name"`
Nickname string `json:"nickname,omitempty" db:"nickname"`
Description string `json:"description,omitempty" db:"description"`


+ 1
- 1
internal/types/types.go View File

@@ -835,7 +835,7 @@ type ClusterCreateReq struct {

type ClusterInfo struct {
Id string `json:"id,omitempty" db:"id"`
AdapterId int64 `json:"adapterId,omitempty" db:"adapter_id"`
AdapterId int64 `json:"adapterId,omitempty,string" db:"adapter_id"`
Name string `json:"name,omitempty" db:"name"`
Nickname string `json:"nickname,omitempty" db:"nickname"`
Description string `json:"description,omitempty" db:"description"`


Loading…
Cancel
Save