Skip to content

Commit

Permalink
fix: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hare committed May 5, 2024
1 parent 466cd9e commit 5ff5919
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 89 deletions.
2 changes: 1 addition & 1 deletion docs/proto/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `groups` | [akash.deployment.v1beta3.GroupSpec](#akash.deployment.v1beta3.GroupSpec) | | |
| `group` | [akash.deployment.v1beta3.GroupSpec](#akash.deployment.v1beta3.GroupSpec) | | |



Expand Down
144 changes: 72 additions & 72 deletions go/provider/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proto/provider/akash/provider/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ message KubeInfo {

// ValidateRequest
message ValidateRequest {
akash.deployment.v1beta3.GroupSpec groups = 1 [
akash.deployment.v1beta3.GroupSpec group = 1 [
(gogoproto.nullable) = false,
(gogoproto.jsontag) = "groups",
(gogoproto.moretags) = "yaml:\"groups\""
(gogoproto.jsontag) = "group",
(gogoproto.moretags) = "yaml:\"group\""
];
}

Expand Down
24 changes: 11 additions & 13 deletions ts/src/generated/akash/provider/v1/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface KubeInfo {
/** ValidateRequest */
export interface ValidateRequest {
$type: 'akash.provider.v1.ValidateRequest';
groups: GroupSpec | undefined;
group: GroupSpec | undefined;
}

/** ValidateResponse */
Expand Down Expand Up @@ -689,7 +689,7 @@ export const KubeInfo = {
messageTypeRegistry.set(KubeInfo.$type, KubeInfo);

function createBaseValidateRequest(): ValidateRequest {
return { $type: 'akash.provider.v1.ValidateRequest', groups: undefined };
return { $type: 'akash.provider.v1.ValidateRequest', group: undefined };
}

export const ValidateRequest = {
Expand All @@ -699,8 +699,8 @@ export const ValidateRequest = {
message: ValidateRequest,
writer: _m0.Writer = _m0.Writer.create(),
): _m0.Writer {
if (message.groups !== undefined) {
GroupSpec.encode(message.groups, writer.uint32(10).fork()).ldelim();
if (message.group !== undefined) {
GroupSpec.encode(message.group, writer.uint32(10).fork()).ldelim();
}
return writer;
},
Expand All @@ -718,7 +718,7 @@ export const ValidateRequest = {
break;
}

message.groups = GroupSpec.decode(reader, reader.uint32());
message.group = GroupSpec.decode(reader, reader.uint32());
continue;
}
if ((tag & 7) === 4 || tag === 0) {
Expand All @@ -732,16 +732,14 @@ export const ValidateRequest = {
fromJSON(object: any): ValidateRequest {
return {
$type: ValidateRequest.$type,
groups: isSet(object.groups)
? GroupSpec.fromJSON(object.groups)
: undefined,
group: isSet(object.group) ? GroupSpec.fromJSON(object.group) : undefined,
};
},

toJSON(message: ValidateRequest): unknown {
const obj: any = {};
if (message.groups !== undefined) {
obj.groups = GroupSpec.toJSON(message.groups);
if (message.group !== undefined) {
obj.group = GroupSpec.toJSON(message.group);
}
return obj;
},
Expand All @@ -751,9 +749,9 @@ export const ValidateRequest = {
},
fromPartial(object: DeepPartial<ValidateRequest>): ValidateRequest {
const message = createBaseValidateRequest();
message.groups =
object.groups !== undefined && object.groups !== null
? GroupSpec.fromPartial(object.groups)
message.group =
object.group !== undefined && object.group !== null
? GroupSpec.fromPartial(object.group)
: undefined;
return message;
},
Expand Down

0 comments on commit 5ff5919

Please sign in to comment.