Browse files

Move service_classes to top of method for easy discovery

  • Loading branch information...
1 parent f8b390f commit 86339b07f0f00fe211b2bdefdf5a899f09395d0c @drnic drnic committed Mar 10, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/bosh-cloudfoundry/config/system_config.rb
View
14 lib/bosh-cloudfoundry/config/system_config.rb
@@ -20,6 +20,13 @@ def initialize(system_dir)
setup_services
end
+ def service_classes
+ [
+ Bosh::CloudFoundry::Config::PostgresqlServiceConfig,
+ Bosh::CloudFoundry::Config::RedisServiceConfig,
+ ]
+ end
+
[
:bosh_target, # e.g. http://1.2.3.4:25555
:bosh_target_uuid,
@@ -75,13 +82,6 @@ def setup_services
end
end
- def service_classes
- [
- Bosh::CloudFoundry::Config::PostgresqlServiceConfig,
- Bosh::CloudFoundry::Config::RedisServiceConfig,
- ]
- end
-
def supported_services
@services.keys
end

0 comments on commit 86339b0

Please sign in to comment.