Skip to content

Commit

Permalink
0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
peekjef72 committed Oct 19, 2023
1 parent 15c41a2 commit 8c1d2e8
Show file tree
Hide file tree
Showing 20 changed files with 670 additions and 280 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).

<!--next-version-placeholder-->
## 0.3.2 / 2023-10-19
- bugfixes

## 0.3.1 / 2023-09-24
- use standard prometheus args web.listen-address and web.config.file for https
- add server start_time in /status page
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2
6 changes: 5 additions & 1 deletion actions_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ func (a *ActionsAction) Type() int {
func (a *ActionsAction) GetName(symtab map[string]any, logger log.Logger) string {
str, err := a.Name.GetValueString(symtab, nil, false)
if err != nil {
level.Warn(logger).Log("msg", fmt.Sprintf("invalid action name: %v", err))
level.Warn(logger).Log(
"collid", CollectorId(symtab, logger),
"script", ScriptName(symtab, logger),
"msg", fmt.Sprintf("invalid action name: %v", err))
return ""
}
return str
Expand Down Expand Up @@ -138,6 +141,7 @@ func (a *ActionsAction) SetPlayAction(script map[string]*YAMLScript) error {
// specific behavior for the ActionsAction
func (a *ActionsAction) CustomAction(script *YAMLScript, symtab map[string]any, logger log.Logger) error {
level.Debug(logger).Log(
"collid", CollectorId(symtab, logger),
"script", ScriptName(symtab, logger),
"msg", fmt.Sprintf("[Type: ActionsAction] Name: %s - %d Actions to play", a.GetName(symtab, logger), len(a.Actions)))
for _, cur_act := range a.Actions {
Expand Down
Loading

0 comments on commit 8c1d2e8

Please sign in to comment.