Skip to content

Service Names Not Trimmed When Comma-Separated #204

@AnshulPatil2005

Description

@AnshulPatil2005

When a user passes --services "service1, service2"
Sugar silently fails to match service2 because the space is never stripped.

current broken for "service1, service2"
service_names = _arg_services.split(',')

fix
service_names = [s.strip() for s in _arg_services.split(',')]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions