Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
fixbug: save not success when switch layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nttuyen committed Oct 28, 2013
1 parent cec46d6 commit 8a2ba49
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -65,7 +65,9 @@ public String getId(JSON node) {

@Override
public String getName(JSON node) {
String name = node.getString("storageName");
String type = node.getString("type");
JSON data = "container".equalsIgnoreCase(type) ? node.getJSON("container") : node.getJSON("application");
String name = data.getString("storageName");
if (name == null) {
// For now we generate a name
// however the name should be fully provided by the node (possibly randomly generated)
Expand Down

0 comments on commit 8a2ba49

Please sign in to comment.