mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-19 17:50:21 +00:00
Fix indentation mistake in add_local_repositories
This commit is contained in:
@@ -21,7 +21,7 @@ with open('/etc/confluent/confluent.deploycfg') as dplcfgfile:
|
||||
_, server6 = line.split(' ', 1)
|
||||
if line.startswith('profile: '):
|
||||
_, profile = line.split(' ', 1)
|
||||
if line.startswith('ipv4_method: '):
|
||||
if line.startswith('ipv4_method: '):
|
||||
_, v4cfg = line.split(' ', 1)
|
||||
if v4cfg == 'static' or v4cfg =='dhcp':
|
||||
server = server4
|
||||
|
@@ -25,7 +25,7 @@ with open('/etc/confluent/confluent.deploycfg') as dplcfgfile:
|
||||
_, server6 = line.split(' ', 1)
|
||||
if line.startswith('profile: '):
|
||||
_, profile = line.split(' ', 1)
|
||||
if line.startswith('ipv4_method: '):
|
||||
if line.startswith('ipv4_method: '):
|
||||
_, v4cfg = line.split(' ', 1)
|
||||
if v4cfg == 'static' or v4cfg =='dhcp':
|
||||
server = server4
|
||||
|
@@ -25,7 +25,7 @@ with open('/etc/confluent/confluent.deploycfg') as dplcfgfile:
|
||||
_, server6 = line.split(' ', 1)
|
||||
if line.startswith('profile: '):
|
||||
_, profile = line.split(' ', 1)
|
||||
if line.startswith('ipv4_method: '):
|
||||
if line.startswith('ipv4_method: '):
|
||||
_, v4cfg = line.split(' ', 1)
|
||||
if v4cfg == 'static' or v4cfg =='dhcp':
|
||||
server = server4
|
||||
|
Reference in New Issue
Block a user