Skip to content

Commit

Permalink
Merge pull request #211 from MalloZup/fix-bsc116381-sle15
Browse files Browse the repository at this point in the history
SLE15: Fix bsc#1163381
  • Loading branch information
MalloZup authored Jul 30, 2020
2 parents fb62e30 + 010a94c commit 6b4ea8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawk/app/models/cib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ def initialize(id, user, use_file = false, stonithwarning = false)
state = CibTools.op_rc_to_state operation, rc_code, state

# check for guest nodes
if !op.attributes['on_node'].nil? && [:master, :started].include?(state)
if !op.attributes['on_node'].nil? && [:master, :started].include?(state) && lrm_resource.attributes['container'].nil?
@nodes.select { |n| n[:uname] == rsc_id }.each do |guest|
guest[:host] = node[:uname]
guest[:remote] = true
Expand Down

0 comments on commit 6b4ea8c

Please sign in to comment.