Skip to content

Commit 2f7be92

Browse files
authored
Update README.md
1 parent c05075f commit 2f7be92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ hpecp k8sworker list
219219
# +-----------+--------+------------------------------------------+------------+---------------------------+
220220

221221
# get the HPE CP supported k8s 1.17.x version number
222-
KVERS=$(hpecp httpclient get /api/v2/k8smanifest | python3 -c 'import json,sys;obj=json.load(sys.stdin); [ print(v) for v in obj["version_info"] if v.startswith("1.17") ]')
222+
KVERS=$(hpecp k8scluster k8s-supported-versions --output text --major-filter 1 --minor-filter 17)
223223
echo $KVERS
224224

225225
# replace IDs defined below with the ones from `hpecp k8sworker list'

0 commit comments

Comments
 (0)