Skip to content

Commit

Permalink
fix: GitOps crash when data-machines not presented
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvecerka23 committed Apr 8, 2024
1 parent 8ecda41 commit f5b9b0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pre/main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@
" }\n",
" for network in bitswan_yaml.get(\"default-networks\", []):\n",
" dc[\"networks\"][network] = {\"external\": True}\n",
" for deployment_id, conf in bitswan_yaml[\"data-machines\"].items():\n",
" \n",
" for deployment_id, conf in bitswan_yaml.get(\"data-machines\", {}).items():\n",
" if conf is None:\n",
" conf = {}\n",
" entry = {}\n",
Expand Down

0 comments on commit f5b9b0e

Please sign in to comment.