Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/deployment/get.decorator.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"defaultValue": ""
},
{
"arg": "-O, --output <output-format>",
"arg": "-o, --output <output-format>",
"description": "Output the information one of the following: normal, wide, JSON",
"defaultValue": "normal"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/validations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ fi
export sa_access_key=$(echo "$sa_access_key" | tr -d '"')
spk init -f ./spk-config-test.yaml
spk deployment get --build-id $pipeline1id
export output=$(spk deployment get --build-id $pipeline1id -O json > file.json )
export output=$(spk deployment get --build-id $pipeline1id -o json > file.json )
length=$(cat file.json | jq 'length')
if (( length > 0 )); then
echo "$length deployment(s) were returned by spk deployment get"
Expand Down