mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 20:38:06 +00:00
rename client_id in pool to object_id (#2673)
* rename client_id in pool to object_id * fix tests * print out the content body when receiving an error response in the agent * fix test * Apply suggestions from code review * Update src/ApiService/ApiService/Functions/AgentRegistration.cs * format * cleanup * format * address pr comment
This commit is contained in:
@ -1239,7 +1239,7 @@ class Pool(Endpoint):
|
||||
self,
|
||||
name: str,
|
||||
os: enums.OS,
|
||||
client_id: Optional[UUID] = None,
|
||||
object_id: Optional[UUID] = None,
|
||||
*,
|
||||
unmanaged: bool = False,
|
||||
arch: enums.Architecture = enums.Architecture.x86_64,
|
||||
@ -1256,7 +1256,7 @@ class Pool(Endpoint):
|
||||
"POST",
|
||||
models.Pool,
|
||||
data=requests.PoolCreate(
|
||||
name=name, os=os, arch=arch, managed=managed, client_id=client_id
|
||||
name=name, os=os, arch=arch, managed=managed, object_id=object_id
|
||||
),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user