fix the example url
This commit is contained in:
parent
71a44407cb
commit
f9354e7c85
|
|
@ -58,7 +58,7 @@ function nexus-component-exists {
|
||||||
"$(
|
"$(
|
||||||
http \
|
http \
|
||||||
get \
|
get \
|
||||||
https://nexus.example.com/service/rest/beta/search \
|
https://nexus.example.com/service/rest/v1/search \
|
||||||
"repository==$1" \
|
"repository==$1" \
|
||||||
"name==$2" \
|
"name==$2" \
|
||||||
"version==$3" \
|
"version==$3" \
|
||||||
|
|
@ -83,7 +83,7 @@ function Test-NexusComponent {
|
||||||
[string]$version)
|
[string]$version)
|
||||||
$items = (Invoke-RestMethod `
|
$items = (Invoke-RestMethod `
|
||||||
-Method Get `
|
-Method Get `
|
||||||
-Uri https://nexus.example.com/service/rest/beta/search `
|
-Uri https://nexus.example.com/service/rest/v1/search `
|
||||||
-Body @{
|
-Body @{
|
||||||
repository = $repository
|
repository = $repository
|
||||||
name = $name
|
name = $name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue