Skip to content

Commit

Permalink
Merge pull request #3537 from vespa-engine/kkraune-patch-1
Browse files Browse the repository at this point in the history
more debug print
  • Loading branch information
kkraune authored Dec 16, 2024
2 parents 2b78c9b + c2efe85 commit 7cee816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions feed_to_vespa.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def vespa_feed(endpoint, feed, namespace, doc_type):
# FIXME: This is not going to work with the new endpoint format!
splits = re.split(r'/|\.', endpoint)
app_string = splits[3] + '.' + splits[2]
print("Feeding to app: {0} , endpoint: {1}".format(app_string, endpoint))

process = subprocess.run(['vespa', 'feed', '-a', app_string, '-t', endpoint, feed], capture_output=True)

Expand Down

0 comments on commit 7cee816

Please sign in to comment.