Skip to content

Commit

Permalink
Authenticate for pulp status call and use explicit GET
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
dosas committed Dec 6, 2023
1 parent e15f4b5 commit 46c0a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ else
COMPONENT_NAME=${1#"pulp_"}
fi

VERSION=$(http ${PULP_URL}status/ | jq --arg plugin $COMPONENT_NAME -r '.versions[] | select(.component == $plugin) | .version')
VERSION=$(http --auth admin:password GET ${PULP_URL}status/ | jq --arg plugin $COMPONENT_NAME -r '.versions[] | select(.component == $plugin) | .version')
export VERSION
fi

Expand Down

0 comments on commit 46c0a97

Please sign in to comment.