Skip to content

Commit

Permalink
fix: curvefs_tool.py create vol stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
baijiaruo1 authored and ilixiaocui committed Mar 11, 2021
1 parent 9b13166 commit 1d42666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curvefs_python/curvefs_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def getRetCodeMsg(ret):
fileId = kUnitializedFileID

if args.optype == "create":
if args.stripeUnit and args.stripeCount:
if args.stripeUnit or args.stripeCount:
ret = cbd.Create2(args.filename, user, args.length * kGB, args.stripeUnit, args.stripeCount)
else:
ret = cbd.Create(args.filename, user, args.length * kGB)
Expand Down

0 comments on commit 1d42666

Please sign in to comment.