Fix indentation warnings LBaaS
After patch Ia2498bdb0f7c310ec3d2c2f11f5d3fc08c8b352c there is possible to run check for yaml and shell syntax. This patch is oriented to fix some similar Warnings reported in yaml syntax check for LBaaS apps, like "(indentation)". Change-Id: I6f2b1af8ab7cee75d153c8f18bbea8ac67cc65b4
This commit is contained in:
parent
5e046b2169
commit
6a5a03c192
@ -51,18 +51,18 @@ Methods:
|
||||
|
||||
deploy:
|
||||
Body:
|
||||
- If: not $.getAttr(installed, false)
|
||||
Then:
|
||||
- $securityGroupIngress:
|
||||
- ToPort: $this.port
|
||||
FromPort: $this.port
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- $._environment.securityGroupManager.addGroupIngress($securityGroupIngress)
|
||||
- $this.installLB()
|
||||
- $.setAttr(installed, true)
|
||||
- $this.syncSettings()
|
||||
- $._environment.reporter.report($this, format('HA-proxy is available at {0}', $this.getEndpoint()))
|
||||
- If: not $.getAttr(installed, false)
|
||||
Then:
|
||||
- $securityGroupIngress:
|
||||
- ToPort: $this.port
|
||||
FromPort: $this.port
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- $._environment.securityGroupManager.addGroupIngress($securityGroupIngress)
|
||||
- $this.installLB()
|
||||
- $.setAttr(installed, true)
|
||||
- $this.syncSettings()
|
||||
- $._environment.reporter.report($this, format('HA-proxy is available at {0}', $this.getEndpoint()))
|
||||
|
||||
createPool:
|
||||
Arguments:
|
||||
|
@ -54,10 +54,10 @@ Methods:
|
||||
|
||||
- $.environment.reporter.report($this, 'Creating security groups...')
|
||||
- $securityGroupIngress:
|
||||
- ToPort: 65535
|
||||
FromPort: 1
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- ToPort: 65535
|
||||
FromPort: 1
|
||||
IpProtocol: tcp
|
||||
External: true
|
||||
- $.environment.securityGroupManager.addGroupIngress($securityGroupIngress)
|
||||
- $.environment.reporter.report($this, 'Creating instance for LBaaS...')
|
||||
- $.instance.deploy()
|
||||
|
@ -38,4 +38,4 @@ Properties:
|
||||
|
||||
Methods:
|
||||
|
||||
updateListener:
|
||||
updateListener:
|
||||
|
@ -38,7 +38,7 @@ Methods:
|
||||
Body:
|
||||
- If: len(list($this.listeners.where($.name = $listener.name))) = 0
|
||||
Then:
|
||||
- $.listeners.append($listener)
|
||||
- $.listeners.append($listener)
|
||||
Else:
|
||||
- $msg: 'Listener with provided name already exists'
|
||||
- $._environment.reporter.report_error($this, $msg)
|
||||
|
Loading…
Reference in New Issue
Block a user