Revision d6316aad

b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js
1336 1336
        },
1337 1337
        
1338 1338
        get_hostname: function() {
1339
          var hostname = this.get_meta('hostname') || this.get('fqdn');
1340
          if (!hostname) {
1341
            if (synnefo.config.vm_hostname_format) {
1342
              hostname = synnefo.config.vm_hostname_format.format(this.id);
1343
            } else {
1344
              hostname = 'unknown';
1345
            }
1346
          }
1347
          return hostname;
1339
          return = this.get_meta('hostname') || this.get('fqdn') || synnefo.config.no_fqdn_message;
1348 1340
        },
1349 1341

  
1350 1342
        // get actions that the user can execute

Also available in: Unified diff