Skip to content

Commit

Permalink
fix: Allow blacklisting broken, but published services
Browse files Browse the repository at this point in the history
  • Loading branch information
bahkauv70 committed Feb 13, 2025
1 parent 564c310 commit 70b83b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions blacklist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Transitional file to force generation of the new regional api for selected services
# It will be removed when all services have been migrated to the new regional api
modelserving
5 changes: 5 additions & 0 deletions scripts/generate-sdk/languages/go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ generate_go_sdk() {
exit 1
fi

if grep -E "^$service$" ${ROOT_DIR}/blacklist.txt; then
echo "Skipping blacklisted service ${service}"
continue
fi

echo -e "\n>> Generating \"${service}\" service..."
cd ${ROOT_DIR}

Expand Down

0 comments on commit 70b83b0

Please sign in to comment.