Skip to content

Commit

Permalink
fix(cmd:schedule): wrong var
Browse files Browse the repository at this point in the history
  • Loading branch information
atbore-phx committed May 26, 2024
1 parent 06ef1e7 commit 634b275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var scdCmd = &cobra.Command{
}
if end_hr == const_eh {
if _, exists := os.LookupEnv("END_HR"); exists {
start_hr = viper.GetString("end_hr")
end_hr = viper.GetString("end_hr")
}
}
if max_charge == const_mc {
Expand Down

0 comments on commit 634b275

Please sign in to comment.