diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-09-13 22:55:35 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-09-13 22:55:47 +0200 |
commit | d23d4ea825fae92b432fd7f1c65ef661426d4551 (patch) | |
tree | 96433cab7db9afdb75dd48700261e143615639cd | |
parent | 57127f5858ba9c73108e75f8d7a3d8a6cb1f8109 (diff) | |
download | sonarqube-d23d4ea825fae92b432fd7f1c65ef661426d4551.tar.gz sonarqube-d23d4ea825fae92b432fd7f1c65ef661426d4551.zip |
Fix Server ID in the page System Info
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/server.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/server.rb index 0fa8dd7237b..ca851346123 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/server.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/server.rb @@ -59,7 +59,7 @@ class Server def sonar_info sonar_info=[] - add_property(sonar_info, 'Server Key') {sonar_property('sonar.server_key')} + add_property(sonar_info, 'Server Key') {sonar_property(ServerIdConfigurationController::PROPERTY_SERVER_ID)} add_property(sonar_info, 'Version') {org.sonar.server.platform.Platform.getServer().getVersion()} add_property(sonar_info, 'Started at') {org.sonar.server.platform.Platform.getServer().getStartedAt()} add_property(sonar_info, 'Database') {"#{jdbc_metadata. getDatabaseProductName()} #{jdbc_metadata. getDatabaseProductVersion()}"} |