Skip to content

Commit

Permalink
update default org in dev scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMraka committed Jul 21, 2023
1 parent 61f88f3 commit e43cf63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/scripts/advisories_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

IDENTITY="$($(dirname "$0")/identity.sh)"

curl -v -H "x-rh-identity: $IDENTITY" http://localhost:8080/api/patch/v2/advisories/ | python3 -m json.tool
curl -v -H "x-rh-identity: $IDENTITY" http://localhost:8080/api/patch/v2/advisories | python3 -m json.tool
2 changes: 1 addition & 1 deletion dev/scripts/identity.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# This identity contains account_name = "0"
ACCOUNT_NUMBER=${1:-"0"}
ACCOUNT_NUMBER=${1:-"org_1"}

encode() {
local input=$(</dev/stdin)
Expand Down
2 changes: 1 addition & 1 deletion dev/scripts/systems_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

IDENTITY="$($(dirname "$0")/identity.sh)"

curl -v -H "x-rh-identity: $IDENTITY" http://localhost:8080/api/patch/v2/systems/ | python3 -m json.tool
curl -v -H "x-rh-identity: $IDENTITY" http://localhost:8080/api/patch/v2/systems | python3 -m json.tool

0 comments on commit e43cf63

Please sign in to comment.