Skip to content

Commit 6bf9735

Browse files
Merge pull request #911 from MaximilianMeister/allow-nodes-index
upgrade: open index action during the upgrade
2 parents 7f3579e + dad6ecf commit 6bf9735

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crowbar_framework/app/controllers/nodes_controller.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#
1717

1818
class NodesController < ApplicationController
19+
# allow node polling during the upgrade
20+
skip_before_filter :upgrade, only: [:index]
21+
1922
api :GET, "/nodes", "List all nodes and their status"
2023
header "Accept", "application/json", required: true
2124
example '

0 commit comments

Comments
 (0)