Skip to content

Commit

Permalink
Merge branch '24.03' into backport/3302-to-24.03
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol authored Dec 26, 2024
2 parents 15da817 + 836a685 commit fed2d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/3235.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix CLI test failures caused by `yarl.URL._val` type change.
2 changes: 1 addition & 1 deletion src/ai/backend/client/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def generate_signature(
Generates the API request signature from the given parameters.
"""
hash_type = hash_type
hostname = endpoint._val.netloc # type: ignore
hostname = endpoint.raw_authority
body_hash = hashlib.new(hash_type, b"").hexdigest()

sign_str = "{}\n{}\n{}\nhost:{}\ncontent-type:{}\nx-backendai-version:{}\n{}".format( # noqa
Expand Down

0 comments on commit fed2d4d

Please sign in to comment.