Replace slash in container name
This commit is contained in:
parent
6a46632716
commit
587817fbf5
|
@ -15,7 +15,7 @@ class Container:
|
||||||
def __init__(self, data):
|
def __init__(self, data):
|
||||||
self._data = data
|
self._data = data
|
||||||
self.id = data['Id']
|
self.id = data['Id']
|
||||||
self.name = data['Name']
|
self.name = data['Name'].replace('/', '')
|
||||||
|
|
||||||
self._state = data.get('State')
|
self._state = data.get('State')
|
||||||
self._config = data.get('Config')
|
self._config = data.get('Config')
|
||||||
|
|
Loading…
Reference in New Issue