Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SheepdogDriverクラスのインスタンス変数stats_patternが不要 #76

Open
y-naga opened this issue Aug 21, 2015 · 1 comment
Open

Comments

@y-naga
Copy link

y-naga commented Aug 21, 2015

class SheepdogDriver(driver.VolumeDriver):
def init(self, _args, *_kwargs):
self.stats_pattern = re.compile(r'[\w\s%]Total\s(\d+)\s(\d+)')
コンストラクタ内の上記のstat_patternは利用されていないため不要。削除漏れ。

dog node infoの文字列切り出しはSheepdogClientクラスの以下のクラス変数を利用している。
STATS_PATTERN = re.compile(r'[\w\s%]Total\s(\d+)\s(\d+)\s(\d+)')

@yamada-h
Copy link

Backupがマージされ次第、次のパッチで修正します。
https://review.openstack.org/#/c/194532/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants