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

exit early if no plugins exist #430

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions aztk/internal/cluster_data/node_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ def _add_user_conf(self):
self.zipf.writestr('user.yaml', user_conf)

def _add_plugins(self):
if not self.cluster_config.plugins:
return

data = []
for plugin in self.cluster_config.plugins:
for file in plugin.files:
Expand Down