Skip to content

Conversation

jiangpengcheng
Copy link
Contributor

Fixes #24782

Motivation

The python function will try to load crypto_config from crypto_spec.cryptoKeyReaderConfig even it's empty or None, which will show an un-expected error log Failed to load the crypto key reader from spe

Modifications

check the crypto_spec.cryptoKeyReaderConfig before load it

Verifying this change

  • Make sure that the change passes the CI checks.

  • This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: jiangpengcheng#48

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Python function report error Failed to load the crypto key reader from spec
1 participant