Skip to content

doesn't like - in values #155

@ac427

Description

@ac427

In [358]: dashboardFilter="kubernetes.namespace.name is 'foo-bar'"                                                                                                                                                                            

In [359]: foo=sdclient.create_dashboard_from_view(dashboardName, viewName, dashboardFilter)                                                                                                                                                   

In [360]: foo                                                                                                                                                                                                                                 
Out[360]: 
(False,
 'invalid scope: kubernetes.namespace.name is \'foo-bar\', expecting one of {"\'" \'/[\\\\w\\\\.]+/\' \'"\'}')

In [361]: 

is there any reason why a scope can't be a dict with key values? not sure why you chose converting string when expected value is a simple key value pair.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions