Skip to content

get_sla_objects skips objects with same name #277

@nvmdd

Description

@nvmdd

Expected Behavior
.get_sla_objects to return all objects from sla

Current Behavior

returns dictionary of {name:id}. objects with the same name are skipped.

Failure Information (for bugs)

When we have a lot of objects with the same name for example "master" database in mssql_db objects .get_sla_objects appends the results in the dictionary and repeating keys will be overwritten and only objects with unique names get returned.

Steps to Reproduce
have 2 objects with same name, (in my case to containers of an mssql database "master"= within the same SLA.
query .get_sla_objects , only one "master" object will be returned.

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