Skip to content

Why does project-service require id on the CLI? #191

Closed

Description

@jurgenhaas

Using gitlab project-service get --project-id 111 --service-name=slack returns with an error that --id is a required parameter but when using that parameter with the correct ID, GitLab responds with a 404.

When using the library and calling g.project_services.get(service_name='slack', project_id=project.id) there is no id required and we get the correct result. Any ideas why?

Activity

  1. gpocentek commented on Dec 24, 2016

    @gpocentek
    Contributor

    ProjectService is a bit special and should probably be handled differently in the CLI code. I'll look into it.

    Thanks for the report.

  2. self-assigned this
    on Dec 24, 2016
  3. removed their assignment
    on Oct 16, 2018
  4. locked as resolved and limited conversation to collaborators on Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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