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

teuthology/scrape.py: Remove empty string in _get_service_types #1889

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 8, 2023

  1. teuthology/scrape.py: Remove empty string and space in _get_service_t…

    …ypes
    
    Problem:
    
    the function grep returns a list contianing empty string which
    results in scrape.py throwing the warning "Misunderstood line: ".
    
    Solution:
    
    filter out empty strings, blank space and None
    before getting match with regex.
    
    Fixes: https://tracker.ceph.com/issues/62534
    
    Signed-off-by: Kamoltat Sirivadhna <[email protected]>
    kamoltat committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9e879d0 View commit details
    Browse the repository at this point in the history