Skip to content

Commit

Permalink
Fix barclamp initialization and unix file format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
galthaus committed Aug 3, 2012
1 parent 9668e35 commit 7ffd9b2
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions crowbar_framework/app/controllers/keystone_controller.rb
@@ -1,26 +1,27 @@
# Copyright 2011, Dell
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

class KeystoneController < BarclampController
before_filter :set_service_object

def set_service_object
@service_object = KeystoneService.new logger
end

private :set_service_object

end

# Copyright 2011, Dell
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

class KeystoneController < BarclampController
before_filter :set_service_object

def set_service_object
@service_object = KeystoneService.new logger
@service_object.bc_name = @bc_name
end

private :set_service_object

end

0 comments on commit 7ffd9b2

Please sign in to comment.