Skip to content

Commit 5f05cb1

Browse files
adamanciniclaude
andcommitted
fix get-customer-license task to use correct field
Use installationId instead of license_id field when retrieving customer license ID from replicated CLI output, as license_id field doesn't exist in the customer JSON structure. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 2fe8f8f commit 5f05cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/wg-easy/taskfiles/utils.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ tasks:
248248
echo "Looking up license ID for customer: {{.CUSTOMER_NAME}}"
249249
250250
# Get customer license ID using Replicated CLI
251-
LICENSE_ID=$(replicated customer ls --output json | jq -r '.[] | select(.name == "{{.CUSTOMER_NAME}}") | .license_id')
251+
LICENSE_ID=$(replicated customer ls --output json | jq -r '.[] | select(.name == "{{.CUSTOMER_NAME}}") | .installationId')
252252
253253
if [ -z "$LICENSE_ID" ] || [ "$LICENSE_ID" = "null" ]; then
254254
echo "ERROR: Could not find customer with name '{{.CUSTOMER_NAME}}'"

0 commit comments

Comments
 (0)