Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:9831
fence-agents.openSUSE_Leap_42.3_Update
0003-fence_compute-Do-not-override-domain-if-it...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-fence_compute-Do-not-override-domain-if-it-is-alread.patch of Package fence-agents.openSUSE_Leap_42.3_Update
From e0f32b8e9c981cc15c4df812a8e338b12d3a9a71 Mon Sep 17 00:00:00 2001 From: Vincent Untz <vuntz@suse.com> Date: Wed, 29 Jun 2016 09:42:56 +0200 Subject: [PATCH 3/7] fence_compute: Do not override domain if it is already correct --- fence/agents/compute/fence_compute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fence/agents/compute/fence_compute.py b/fence/agents/compute/fence_compute.py index a356a361..7adba119 100644 --- a/fence/agents/compute/fence_compute.py +++ b/fence/agents/compute/fence_compute.py @@ -254,8 +254,8 @@ def fix_domain(options): options["--domain"] = last_domain return options["--domain"] - elif len(domains) == 1: - logging.error("Overriding supplied domain '%s' does not match the one calculated from: %s" + elif len(domains) == 1 and options["--domain"] != last_domain: + logging.error("Overriding supplied domain '%s' as it does not match the one calculated from: %s" % (options["--domain"], service.host)) options["--domain"] = last_domain return options["--domain"] -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor