Skip to content

alertprovisioning delete_mute_timing performs GET request instead of DELETE #237

@serhiy-yevtushenko

Description

@serhiy-yevtushenko

Describe the bug
The code of alertprovisining/delete-mute-timing performs GET request instead of delete

To Reproduce
Current source code of delete-mute-timing

    def delete_mute_timing(self, mutetiming_name):
        """
        Deletes single mute timing
        @return:
        """
        delete_mute_timing_path = "/v1/provisioning/mute-timings/%s" % mutetiming_name
        return self.client.GET(delete_mute_timing_path)

Expected behavior
The delete request should happen

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions