Skip to content

Commit

Permalink
moved reg username and password to request.approve()
Browse files Browse the repository at this point in the history
  • Loading branch information
rasswanth-s committed Feb 16, 2024
1 parent 4014c66 commit 61a5f3b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions notebooks/api/0.8/11-container-images-k8s.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1072,11 +1072,7 @@
"source": [
"pool_name_opendp = \"opendp-pool\"\n",
"pool_create_request = domain_client.api.services.worker_pool.pool_creation_request(\n",
" pool_name=pool_name_opendp,\n",
" num_workers=3,\n",
" image_uid=workerimage_opendp.id,\n",
" reg_username=external_registry_username,\n",
" reg_password=external_registry_password,\n",
" pool_name=pool_name_opendp, num_workers=3, image_uid=workerimage_opendp.id\n",
")\n",
"pool_create_request"
]
Expand All @@ -1100,7 +1096,9 @@
"outputs": [],
"source": [
"# get the pending request and approve it\n",
"req_result = pool_create_request.approve()\n",
"req_result = pool_create_request.approve(\n",
" reg_username=external_registry_username, reg_password=external_registry_password\n",
")\n",
"req_result"
]
},
Expand Down

0 comments on commit 61a5f3b

Please sign in to comment.