Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Conversation

@liangzhaowang
Copy link

Signed-off-by: Zhaowangx.Liang zhaowangx.liang@intel.com

Signed-off-by: Zhaowangx.Liang <zhaowangx.liang@intel.com>
self.cluster["testjob_distribution"] = {}
for client in self.cluster["client"]:
vclient_total = int(disk_num_per_client[client_num])
vclient_total = int(disk_num_per_client[client_num]) if client_num < len(disk_num_per_client) else int(disk_num_per_client[-1])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am thinking to make this code in config level, to check if on specify one number in disk_num_per_client, and make as client-number list in configuration.
Not hack in codes

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, let me see ~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants