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

Update nimbus.clj #672

Merged
merged 4 commits into from
Sep 4, 2013
Merged

Update nimbus.clj #672

merged 4 commits into from
Sep 4, 2013

Conversation

ankitoshniwal
Copy link
Contributor

screen shot 2013-09-03 at 11 36 45 am

Adding check to disallow topology submission if the topology name is blank. In one of the scenarios, we had pushed a topology with an empty name, and it showed up on the ui with only the uid. Also since it did not have any name we could not go into "Topology Details" to kill it, and hence had to clean up the state on the disk so that Nimbus kills the topology.

Adding check to disallow topology submission if the topology name is blank. In one of the scenarios, we had pushed a topology with an empty name, and it showed up on the ui with only the uid. Also since it did not have any name we could not go into "Topology Details" to kill it, and hence had to clean up the state on the disk so that Nimbus kills the topology.
@nathanmarz
Copy link
Owner

Looks fine but can you fix the formatting? That if statement should be aligned with the other if statement.

@ankitoshniwal
Copy link
Contributor Author

Thanks Nathan!! Just updated the formatting.

Ankit.

@nathanmarz
Copy link
Owner

One other thing – you don't need to wrap the error message in (str ...), as it's already a string.

nathanmarz added a commit that referenced this pull request Sep 4, 2013
@nathanmarz nathanmarz merged commit 043500c into nathanmarz:master Sep 4, 2013
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.

2 participants