Skip to content

Commit

Permalink
Simplify component names
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid committed Mar 8, 2023
1 parent e32fe11 commit 154c8c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/gento
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ main() {
# colon with space for better readability.
images="$(images_versions)" || die
for image in $images; do
com="CNF img $(printf %s "$image" | tr : \ )"
com="pod $(printf %s "$image" | tr : \ )"
create_component "$com"
coms="$coms,\"name:$com\""
tags="$tags,\"$com\""
Expand All @@ -288,7 +288,7 @@ main() {
# vendor-a:product-a vendor-b:product-b vendor-c:product-c
nodes="$(nodes_versions)" || die
for node in $nodes; do
com="CNF node $(printf %s "$node" | tr : \ )"
com="node $(printf %s "$node" | tr : \ )"
create_component "$com"
coms="$coms,\"name:$com\""
tags="$tags,\"$com\""
Expand Down Expand Up @@ -410,7 +410,7 @@ prettyuptime() {

# Gets local system information.
read_info() {
CNFA="CNF $CNF"
CNFA="$CNF"
CNFCT="cnf-certification-test $(cnfct_version)" || die
GENTO="gento $BASE_APP_VERSION"
KUBE="Kubernetes $(oc version | grep Kubernetes | awk '{print $3}')"
Expand Down

0 comments on commit 154c8c1

Please sign in to comment.