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

1328995 - Added uniqueness validation for registering OSP nodes. #784

Merged
merged 2 commits into from Apr 22, 2016
Merged

1328995 - Added uniqueness validation for registering OSP nodes. #784

merged 2 commits into from Apr 22, 2016

Conversation

cfchase
Copy link
Contributor

@cfchase cfchase commented Apr 22, 2016

On the register osp nodes page:

  • Added uniqueness validations for manual mac address entry.
  • Removed hosts with used mac addresses from auto-detect.
  • Added uniqueness validation for csv nodes.


hostArray.forEach((hostHash) => {
hostArray.forEach(hostHash => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've still been wrapping single arg fat arrows in paren. Don't feel strongly either way, is your preferred style no paren? Just want to make sure we're consistent going forwards.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pretty much always prefer to omitting parentheses because I feel like it's pretty clear whenever I see the fat arrow, but I can go either way in this case since we're using a block syntax. If we're omitting the block syntax I definitely prefer to omit the params when possible. We need to get that jscs style guide thing going.

x => x + x;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Omit when possible.

@eriknelson
Copy link
Contributor

ACK

@cfchase cfchase merged commit b9a7749 into fusor:TP3 Apr 22, 2016
@cfchase cfchase deleted the reg-node-unique-mac branch April 22, 2016 13:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants