You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show the pretty-printed error from populating the object graph
in PrintObjects() and PrintDotGraph(). Add the ErrPopulate so
we can add special casing for it in cilium/cilium to also do the
pretty-printing of the error there.
Will look like this:
2025/03/07 11:30:13 ERROR Invoke failed error="missing type:\n\t- resource.Resource[*github.com/cilium/cilium/pkg/k8s/slim/k8s/api/core/v1.Service] (did you mean to Provide it?)" function="cmd.configureAPIServer (cmd/cells.go:330)"
Failed to populate object graph:
could not build arguments for function "github.com/cilium/cilium/daemon/cmd".configureAPIServer
/home/jussi/go/src/github.com/cilium/cilium/daemon/cmd/cells.go:330:
failed to build *server.Server:
could not build arguments for function "github.com/cilium/cilium/api/v1/server".newForCell
/home/jussi/go/src/github.com/cilium/cilium/api/v1/server/server.go:206:
failed to build *restapi.CiliumAPIAPI:
could not build arguments for function "github.com/cilium/cilium/api/v1/server".newAPI
/home/jussi/go/src/github.com/cilium/cilium/api/v1/server/server.go:125:
failed to build endpoint.DeleteEndpointHandler:
could not build arguments for function "github.com/cilium/cilium/daemon/cmd".ciliumAPIHandlers
/home/jussi/go/src/github.com/cilium/cilium/daemon/cmd/api_handlers.go:81:
failed to build promise.Promise[*github.com/cilium/cilium/daemon/cmd.Daemon]:
could not build arguments for function "github.com/cilium/cilium/daemon/cmd".newDaemonPromise
/home/jussi/go/src/github.com/cilium/cilium/daemon/cmd/daemon_main.go:1585:
failed to build *clustermesh.ClusterMesh:
could not build arguments for function "github.com/cilium/cilium/pkg/clustermesh".NewClusterMesh
/home/jussi/go/src/github.com/cilium/cilium/pkg/clustermesh/clustermesh.go:133:
failed to build *dial.ServiceResolver:
missing dependencies for function "github.com/cilium/cilium/pkg/dial".newServiceResolver
/home/jussi/go/src/github.com/cilium/cilium/pkg/dial/resolver.go:43:
missing type:
- resource.Resource[*github.com/cilium/cilium/pkg/k8s/slim/k8s/api/core/v1.Service] (did you mean to Provide it?)
Signed-off-by: Jussi Maki <[email protected]>
0 commit comments