Skip to content

dev-server: docker image 1.14 not removing all overrides #541

@ajworkos

Description

@ajworkos

Is this a support request?

No

Describe the bug

Using the docker image with tag 1.14 results in an error when attempting to remove all overrides

It feels like the ui code is new but the ldcli go code is old in that image. The UI code calls the rest endpoint DELETE /dev/projects/:projectKey/overrides which returns a 404.

When I pull from this repo locally and start the dev server using go run main.go dev-server, the same DELETE endpoint returns 204

To reproduce

To compare

  • pull this repo and run go run main.go dev-server with the same configuration as the docker container was started
  • open the UI, add an override
  • Click "Remove all overrides" and note the 204 response in the browser console

Expected behavior
Expect a 204, not a 404

Logs

Image

CLI version

launchdarkly/ldcli:1.14.0

When I output the version of ldcli inside the container I get

ldcli version 1.14.0

OS/platform

launchdarkly/ldcli:1.14.0

Additional context

N/A

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