fix the example url

This commit is contained in:
Rui Lopes 2019-04-29 17:47:52 +01:00
parent 71a44407cb
commit f9354e7c85
1 changed files with 2 additions and 2 deletions

View File

@ -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