-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server.Initialize() returns a nil callback on second call #2281
Labels
area/eventing
kind/bug
Something isn't working
priority/p0
Highest priority. We are actively looking at delivering it.
Comments
dgageot
added
area/eventing
kind/bug
Something isn't working
priority/p0
Highest priority. We are actively looking at delivering it.
labels
Jun 18, 2019
dgageot
added a commit
to dgageot/skaffold
that referenced
this issue
Jun 18, 2019
And only stop it at the end. Fix GoogleContainerTools#2281 Signed-off-by: David Gageot <david@gageot.net>
dgageot
added a commit
to dgageot/skaffold
that referenced
this issue
Jun 18, 2019
And only stop it at the end. Fix GoogleContainerTools#2281 Signed-off-by: David Gageot <david@gageot.net>
dgageot
added a commit
to dgageot/skaffold
that referenced
this issue
Jun 18, 2019
And only stop it at the end. Fix GoogleContainerTools#2281 Signed-off-by: David Gageot <david@gageot.net>
dgageot
added a commit
to dgageot/skaffold
that referenced
this issue
Jun 18, 2019
And only stop it at the end. Fix GoogleContainerTools#2281 Signed-off-by: David Gageot <david@gageot.net>
dgageot
added a commit
to dgageot/skaffold
that referenced
this issue
Jun 19, 2019
And only stop it at the end. Fix GoogleContainerTools#2281 Signed-off-by: David Gageot <david@gageot.net>
dgageot
added a commit
to dgageot/skaffold
that referenced
this issue
Jun 19, 2019
And only stop it at the end. Fix GoogleContainerTools#2281 Signed-off-by: David Gageot <david@gageot.net>
I guess we're recreating the runner whenever the skaffold config changes? seems a little weird to me but I guess that's the way we have to handle it. could we memoize the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/eventing
kind/bug
Something isn't working
priority/p0
Highest priority. We are actively looking at delivering it.
See https://github.com/GoogleContainerTools/skaffold/blob/master/pkg/skaffold/server/server.go#L87
The second time we call
Initialize()
, for e.g. when a runner is recreated, instead of getting a shutdown callback, we get anil
callback. It'll cause a panic here.In fact, I think we should initialize/shutdown the gRPC server only once.
ping @nkubala
The text was updated successfully, but these errors were encountered: