Skip to content

Commit

Permalink
Revert removal of manual changes for 48013, 48017
Browse files Browse the repository at this point in the history
This reverts commits 152ab61, f394279.
  • Loading branch information
khssnv committed Aug 9, 2024
1 parent f394279 commit 623b4a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/processors/ddcNodesProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export class DdcNodesProcessor extends BaseProcessor<State> {
providerId: node.providerId,
clusterId: node.clusterId,
host: node.props.host,
domain: null,
ssl: false,
domain: node.props.domain,
ssl: node.props.ssl,
httpPort: node.props.httpPort,
grpcPort: node.props.grpcPort,
p2pPort: node.props.p2PPort,
Expand All @@ -92,8 +92,8 @@ export class DdcNodesProcessor extends BaseProcessor<State> {
providerId: node.providerId,
clusterId: node.clusterId,
host: node.props.host,
domain: null,
ssl: false,
domain: node.props.domain,
ssl: node.props.ssl,
httpPort: node.props.httpPort,
grpcPort: node.props.grpcPort,
p2pPort: node.props.p2PPort,
Expand Down
4 changes: 4 additions & 0 deletions src/types/v48013.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ export interface StorageNode {

export interface StorageNodeProps {
host: Bytes
domain: Bytes
ssl: boolean
httpPort: number
grpcPort: number
p2PPort: number
Expand All @@ -166,6 +168,8 @@ export const StorageNode: sts.Type<StorageNode> = sts.struct(() => {
export const StorageNodeProps: sts.Type<StorageNodeProps> = sts.struct(() => {
return {
host: sts.bytes(),
domain: sts.bytes(),
ssl: sts.boolean(),
httpPort: sts.number(),
grpcPort: sts.number(),
p2PPort: sts.number(),
Expand Down
4 changes: 4 additions & 0 deletions src/types/v48017.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export interface StorageNode {

export interface StorageNodeProps {
host: Bytes
domain: Bytes
ssl: boolean
httpPort: number
grpcPort: number
p2PPort: number
Expand Down Expand Up @@ -91,6 +93,8 @@ export const StorageNode: sts.Type<StorageNode> = sts.struct(() => {
export const StorageNodeProps: sts.Type<StorageNodeProps> = sts.struct(() => {
return {
host: sts.bytes(),
domain: sts.bytes(),
ssl: sts.boolean(),
httpPort: sts.number(),
grpcPort: sts.number(),
p2PPort: sts.number(),
Expand Down

0 comments on commit 623b4a9

Please sign in to comment.