Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
fix func_topic is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ngtuna committed Aug 29, 2017
1 parent cb79188 commit 4a0aa5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/libtest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ test_kubeless_function() {
k8s_wait_for_pod_ready -l function=${func}
case "${func}" in
*pubsub*)
func_topic=$(kubeless function describe "${func}" -o yaml|sed -n 's/^topic: //p')
func_topic=$(kubeless function describe "${func}" -o yaml|sed -n 's/topic: //p')
echo_info "FUNC TOPIC: $func_topic"
_wait_for_kubeless_kafka_topic_ready ${func_topic:?};;
esac
make -sC examples ${func}-verify
Expand Down

0 comments on commit 4a0aa5d

Please sign in to comment.