Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit514bbb5

Browse files
authored
Merge pull request#6 from alexanderlaw/main
Fix support for instance features
2 parents49fb6e4 +605c3e9 commit514bbb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎run-benchmarks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ def main(configfile, instances, benchmarks, resultsfile, resultsdir):
249249
'see benchmark-results/.)')
250250

251251
instance_features=instance.get('features')
252-
ifre.match(r'\bperf\b',instance_features):
252+
ifinstance_featuresisnotNoneand \
253+
re.match(r'\bperf\b',instance_features):
253254
res=run(f'docker exec -t{container_id} bash -c '
254255
f'pg_ctl_stop',
255256
shell=True,check=False,stdout=subprocess.PIPE)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp