Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1058 from SUSE/marky-kube-replicas-typo
Browse files Browse the repository at this point in the history
patches: configure-HA-hosts: fix typo
  • Loading branch information
Vlad Iovanov authored Jul 26, 2017
2 parents 3595fa7 + 529fb3a commit b6f3c39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ k8s_api() {
find_cluster_ha_hosts() {
local component_name this_component hosts
component_name="${1}"
this_component="$(k8s_api "/pods/${HOSTNAME}" | jq -crM '.metadata.labels."skiff-role-name"')"
this_component="$(k8s_api api/v1 "/pods/${HOSTNAME}" | jq -crM '.metadata.labels."skiff-role-name"')"

if test "${this_component}" != "${component_name}" ; then
# Requesting a different component, use DNS name
Expand Down

0 comments on commit b6f3c39

Please sign in to comment.