13561: Avoid collections.index to include old versions
[arvados.git] / services / api / lib / tasks / config_check.rake
index a01e1ea2ab6727370823ba36987a59ae31c15383..4f071f11a3ebca51aaa724d95e605155f16ee9f7 100644 (file)
@@ -1,6 +1,11 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 namespace :config do
   desc 'Ensure site configuration has all required settings'
   task check: :environment do
+    $stderr.puts "%-32s %s" % ["AppVersion (discovered)", AppVersion.hash]
     $application_config.sort.each do |k, v|
       if ENV.has_key?('QUIET') then
         # Make sure we still check for the variable to exist