From 608cf80db7712e4a5daeca55657e8e797d299c66 Mon Sep 17 00:00:00 2001 From: Dale Bewley Date: Thu, 11 Feb 2021 10:54:36 -0800 Subject: [PATCH] fix typo in examples template some examples lacked `set` in `oc set probe` --- pkg/cli/set/probe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/set/probe.go b/pkg/cli/set/probe.go index 36b179b0e1..5774d9763e 100644 --- a/pkg/cli/set/probe.go +++ b/pkg/cli/set/probe.go @@ -63,10 +63,10 @@ var ( oc set probe rc/mysql --readiness --open-tcp=3306 # Set an HTTP startup probe for port 8080 and path /healthz over HTTP on the pod IP - oc probe dc/webapp --startup --get-url=http://:8080/healthz + oc set probe dc/webapp --startup --get-url=http://:8080/healthz # Set an HTTP readiness probe for port 8080 and path /healthz over HTTP on the pod IP - oc probe dc/webapp --readiness --get-url=http://:8080/healthz + oc set probe dc/webapp --readiness --get-url=http://:8080/healthz # Set an HTTP readiness probe over HTTPS on 127.0.0.1 for a hostNetwork pod oc set probe dc/router --readiness --get-url=https://127.0.0.1:1936/stats