Skip to content

Fix docker restapi start issue, undefined error#4475

Merged
prsunny merged 1 commit intosonic-net:masterfrom
prsunny:restapi
Apr 24, 2020
Merged

Fix docker restapi start issue, undefined error#4475
prsunny merged 1 commit intosonic-net:masterfrom
prsunny:restapi

Conversation

@prsunny
Copy link
Contributor

@prsunny prsunny commented Apr 24, 2020

- Why I did it

  1. Fix the error during restapi start
Apr 24 01:10:  str-01 INFO restapi.sh: docker: network "host" is specified multiple times.
  1. Fix a jinja exception undefined error
Apr 24 01:25: str-01 INFO restapi#: Traceback (most recent call last):
Apr 24 01:25: str-01 INFO restapi#: File "/usr/local/bin/sonic-cfggen", line 318, in <module>
Apr 24 01:25: str-01 INFO restapi#: main()
Apr 24 01:25: str-01 INFO restapi#: return obj[argument]
Apr 24 01:25: str-01 INFO restapi#: jinja2.exceptions.UndefinedError: 'RESTAPI' is undefined

- How I did it
Code fix

- How to verify it
Run restapi docker

- A picture of a cute animal (not mandatory but encouraged)

@prsunny
Copy link
Contributor Author

prsunny commented Apr 24, 2020

retest vsimage please

@prsunny prsunny merged commit 4adf243 into sonic-net:master Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants