Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-v1.58] Check content-type in importer to warn against unexpected kubevirt imports #2975

Commits on Nov 9, 2023

  1. Check content-type before importing to warn against unexpected conten…

    …t imports
    
    This commit adds a check in the http-datasource format reader to trigger a warning when importing unexpected content-types.
    
    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros authored and kubevirt-bot committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    87bce9c View commit details
    Browse the repository at this point in the history
  2. Test import with unexpected content-type

    This commit adds a test to cover a import with unexpected content-type. It also updates the badserver to allow mocking this behavior.
    
    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros authored and kubevirt-bot committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    a9223a8 View commit details
    Browse the repository at this point in the history