Skip to content
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

Add dump --cfg command and cleanup flags #4668

Merged
merged 1 commit into from
Oct 1, 2022
Merged

Add dump --cfg command and cleanup flags #4668

merged 1 commit into from
Oct 1, 2022

Conversation

andig
Copy link
Member

@andig andig commented Oct 1, 2022

Follow-up to #4659 (comment)

@andig andig added the enhancement New feature or request label Oct 1, 2022
@andig andig requested a review from premultiply October 1, 2022 12:50
@premultiply
Copy link
Member

Sieht erstmal gut aus, kann jetzt aber leider zwei Wochen selbst nicht testen da ich mal ohne 💻 in Urlaub bin.

@andig andig merged commit 06bdb83 into master Oct 1, 2022
@andig andig deleted the feature/plain branch October 1, 2022 19:25

rootCmd.PersistentFlags().DurationP("interval", "i", 10*time.Second, "Update interval")
Copy link
Contributor

@panzerdev panzerdev Oct 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guten Morgen,

habe gerade den latest master bei mir deployed und diese panic bekommen

evcc_1  | goroutine 160 [running]:
evcc_1  | time.NewTicker(0xa5de22?)
evcc_1  | 	/usr/local/go/src/time/tick.go:24 +0x10f
evcc_1  | github.com/evcc-io/evcc/core.(*Site).Run(0xc0000bc900, 0xc0006fc060, 0x0)
evcc_1  | 	/build/core/site.go:540 +0x105
evcc_1  | github.com/evcc-io/evcc/cmd.runRoot.func1()
evcc_1  | 	/build/cmd/root.go:288 +0x31
evcc_1  | created by github.com/evcc-io/evcc/cmd.runRoot
evcc_1  | 	/build/cmd/root.go:287 +0x134c

Habe den in der config das interval: 10s gesetzt und alles geht wieder. Ich würde sagen der default ist mit diesem cleanup verloren gegangen.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danke, in 98b8ca1 gelöst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants