Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 76667f9

Browse files
authored
Merge pull request #17 from lendingblock/master
0.1.8
2 parents 09242c2 + 072655d commit 76667f9

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

agiletoolkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Agile toolkit for devops and repository management"""
22

3-
__version__ = "0.1.6"
3+
__version__ = "0.1.8"

agiletoolkit/kong.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import socket
2-
31
import click
42

53
from kong.client import Kong, KongError
@@ -27,12 +25,6 @@ def create_kong(self, yes):
2725
data = self.load_data('values.yaml')
2826
values = data.copy()
2927
manifest = self.manifest(values, 'kong.yaml')
30-
if self.namespace == 'local':
31-
ip = socket.gethostbyname(socket.gethostname())
32-
for srv in manifest.get('services') or ():
33-
config = srv.get('config')
34-
if config:
35-
config['host'] = ip
3628
if yes:
3729
return self.wait(self.apply_kong(manifest))
3830
else:

0 commit comments

Comments
 (0)