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

Fix num arg checking for lsx wait #401

Merged
merged 1 commit into from
Jan 26, 2017

Conversation

codenrhoden
Copy link
Contributor

The check to make sure the lsx wait command had the minimum number of
args was one less than it needs to be.

If you accidentally leave off the timeout param, you get panic, index out of range error from line 199:

Timeout: utils.DeviceAttachTimeout(args[5]),

The check to make sure the lsx wait command had the minimum number of
args was one less than it needs to be.
@akutz akutz self-assigned this Jan 26, 2017
@akutz akutz added this to the 0.5.0 milestone Jan 26, 2017
@codecov-io
Copy link

Current coverage is 30.53% (diff: 100%)

Merging #401 into master will increase coverage by 0.05%

@@             master       #401   diff @@
==========================================
  Files            29         29          
  Lines          1739       1739          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            530        531     +1   
+ Misses         1151       1150     -1   
  Partials         58         58          

Powered by Codecov. Last update e81e3be...962cfb4

@akutz akutz merged commit d6d9f13 into thecodeteam:master Jan 26, 2017
@akutz akutz removed the in progress label Jan 26, 2017
@codenrhoden codenrhoden deleted the bugfix/lsx_wait_numargs branch February 16, 2017 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants