Skip to content

Commit b53750d

Browse files
Update packages/gapic-generator/gapic/utils/options.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 1ce5aa6 commit b53750d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/gapic-generator/gapic/utils/options.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def tweak_path(p):
225225
"Expected format is 'resource.path/Name:AliasName'."
226226
)
227227

228-
resumable_upload_prefix = opts.pop("resumable-upload-prefix", ["resumable/upload"])[0]
228+
resumable_upload_prefix = opts.pop("resumable-upload-prefix", ["resumable/upload"]).pop()
229229

230230
answer = Options(
231231
name=opts.pop("name", [""]).pop(),

0 commit comments

Comments
 (0)