Skip to content

Commit f506527

Browse files
committed
[FIX] Corrects args sequence in tls_cert_managed_by_v4m
1 parent ef4d0d0 commit f506527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/tls-include.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function tls_cert_expired() {
270270
# Return 1: TLS cert is not managed by V4M
271271
function tls_cert_managed_by_v4m() {
272272
namespace="$1"
273-
secretName="$3"
273+
secretName="$2"
274274

275275
if [[ "$(kubectl get secret -n "$namespace" "$secretName" --show-labels)" == *"managed-by=v4m"* ]]; then
276276
log_debug "TLS Certs are managed by SAS Viya Monitoring"

0 commit comments

Comments
 (0)