Skip to content

Commit

Permalink
cosalib/aliyun.py: region name should be a string, not list
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Howard authored and Ben Howard committed Jan 16, 2020
1 parent 8adc457 commit 32c4b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cosalib/aliyun.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def aliyun_run_ore(build, args):
# convert the binary output to string and remove trailing white space
ore_data = subprocess.check_output(ore_args).decode('utf-8').strip()
build.meta['aliyun'] = [{
'name': args.region,
'name': region,
'id': ore_data
}]
build.meta_write()
Expand Down

0 comments on commit 32c4b31

Please sign in to comment.