Python debugging entrypoint rewrite incorrect if it contains parenthesis. #6100
Labels
area/debug
kind/bug
Something isn't working
priority/p0
Highest priority. We are actively looking at delivering it.
Description of the issue:
on
skaffold debug
was getting the error> [contacts-85bf9984d6-hlfkp contacts] /bin/sh: 1: Syntax error: "(" unexpected
, so I escaped the parenthesis, which fixeddebug
, but causeddev
to error with> [contacts-8668d9cdbb-f9xch contacts] Failed to parse 'create_app\\(\\)' as an attribute name or function call
. It seems like the rewrite of the entrypoint duringdebug
is causing some string escaping issues?Expected behavior:
I do not have to escape the parenthesis and it will work in both dev and debug.
Steps to reproduce:
skaffold dev
works :)skaffold debug
does not work :(Environment:
OS: macOS v11.4
Skaffold: v1.25.0
The text was updated successfully, but these errors were encountered: