oc icon indicating copy to clipboard operation
oc copied to clipboard

`registry remove <registry_url>` does not work with the urls without a trailing slash

Open ashwinik001 opened this issue 8 years ago • 0 comments

Who is the bug affecting?

component creators

What is affected by this bug?

oc-cli

When does this occur?

When trying to remove the registry url without a slash, and the same registry url value was added successfully

Where on the platform does it happen?

cli

How do we replicate the issue?

-- $ oc registry add http://localhost:3000/oc -- $ oc registry remove http://localhost:3000/oc

Expected behavior (i.e. solution)

The second command in above should have removed the previously added registry URL

What version of OC, Node.js and OS are you using?

[email protected], [email protected], MacBook

Other Comments

ashwinik001 avatar May 28 '18 10:05 ashwinik001