Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ysawa0 committed Nov 25, 2023
1 parent d754dbf commit 8b65eb8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
22 changes: 1 addition & 21 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,12 @@


def handler(event, context):
# try:
# pprint(os.listdir("/opt"))
# print('lib')
# # pprint(os.listdir("/opt/lib"))
# # print('lib64')
# # pprint(os.listdir("/opt/lib64"))
# except Exception as e:
# print(e)

# rp = subprocess.run(["ldd", "--version"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# res = {
# "out": rp.stdout.decode(),
# "err": rp.stderr.decode(),
# "code": rp.returncode,
# }
# pprint(res["out"])
# pprint(res["err"])
event = init_api_event(event)

u = str(uuid.uuid4())
cmd1 = "/opt/envoy"
cmd2 = "/usr/local/bin/envoy"
if os.path.isfile(cmd2):
cmd = cmd2
else:
cmd = cmd1
cmd = cmd2 if os.path.isfile(cmd2) else cmd1

write_to = f"/tmp/{u}/conf.yaml"
read_from = f"/tmp/{u}"
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/App.less

This file was deleted.

0 comments on commit 8b65eb8

Please sign in to comment.