Skip to content

Commit 611b26c

Browse files
authored
Merge pull request #10 from odpf/optimus-register-instance-proto
refactor: register instance api path for runtime_service.proto
2 parents c13453f + c8270ff commit 611b26c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

odpf/optimus/runtime_service.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ service RuntimeService {
122122
// RegisterInstance is an internal admin command used during task execution
123123
rpc RegisterInstance(RegisterInstanceRequest) returns (RegisterInstanceResponse) {
124124
option (google.api.http) = {
125-
post: "/api/v1/instance"
125+
post: "/api/v1/project/{project_name}/job/{job_name}/instance"
126126
body: "*"
127127
};
128128
}
@@ -167,7 +167,7 @@ service RuntimeService {
167167
body: "*"
168168
};
169169
}
170-
// TODO(kush.sharma): unsupported ATM
170+
// TODO(kush.sharma): disabled ATM
171171
//rpc DeleteResource(DeleteResourceRequest) returns (DeleteResourceResponse) {}
172172

173173
}

0 commit comments

Comments
 (0)