Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

deregister service id and check id #175

Copy link
Copy link
@chinakevinguo

Description

@chinakevinguo
Issue body actions

Is this code really like this? when change 'get' to 'put' ,it works...

            def deregister(self, service_id):
                """
                Used to remove a service from the local agent. The agent will
                take care of deregistering the service with the Catalog. If
                there is an associated check, that is also deregistered.
                """
                # return self.agent.http.get(
                #     CB.bool(), '/v1/agent/service/deregister/%s' % service_id)

                return self.agent.http.put(
                    CB.bool(), '/v1/agent/service/deregister/%s' % service_id)

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.