Skip to content

Commit

Permalink
Bugfix for event reader after podman service is restarted
Browse files Browse the repository at this point in the history
Signed-off-by: Navid Yaghoobi <[email protected]>
  • Loading branch information
navidys committed Mar 1, 2025
1 parent db3ef26 commit 9c6e434
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func Start(cmd *cobra.Command, _ []string) error {
updateImages = true
}

pdcs.StartEventStreamer(logger, updateImages)
go pdcs.StartEventStreamer(logger, updateImages)
pdcs.StartCacheSizeTicker(logger, cmdOptions.cacheDuration)

logger.Info("Listening on", "address", cmdOptions.webListen)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var _ = BeforeSuite(func() {
Long: ``,
}

rootCmd.Flags().BoolP("debug", "d", false, "")
rootCmd.Flags().BoolP("debug", "d", true, "")
rootCmd.Flags().BoolP("version", "", false, "")
rootCmd.Flags().StringP("web.config.file", "", "", "")
rootCmd.Flags().StringP("web.listen-address", "l", ":9882", "")
Expand Down

0 comments on commit 9c6e434

Please sign in to comment.