-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ignore errors when the logging node empties the log buffer (#6558) (cherry picked from commit b691a44) * Fix wiring of custom component nodes (#6563) * fix wiring of custom component nodes by checking import before local declares * update changelog * add comment in loader to explain why the imports should be checked before the local declare (cherry picked from commit 0dde507) * flow/logging: check for nil values when writing logs (#6561) There may be situations where the flow mode logger receivers a nil value, potentially due to misconfiguration or a component which exports its values only after being ran. Fixes #6557. (cherry picked from commit bcc9b0a) * changelog: cut 0.40.1 (#6568) (cherry picked from commit 9154af3) --------- Co-authored-by: William Dumont <[email protected]>
- Loading branch information
Showing
8 changed files
with
88 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Imported declare and local declare have the same label. | ||
|
||
-- main.river -- | ||
testcomponents.count "inc" { | ||
frequency = "10ms" | ||
max = 10 | ||
} | ||
|
||
import.file "certmanager" { | ||
filename = "module.river" | ||
} | ||
|
||
certmanager.config "this" { | ||
input = testcomponents.count.inc.count | ||
} | ||
|
||
declare "config" { | ||
} | ||
|
||
testcomponents.summation "sum" { | ||
input = certmanager.config.this.output | ||
} | ||
|
||
-- module.river -- | ||
declare "config" { | ||
argument "input" {} | ||
|
||
testcomponents.passthrough "pt" { | ||
input = argument.input.value | ||
lag = "1ms" | ||
} | ||
|
||
export "output" { | ||
value = testcomponents.passthrough.pt.output | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.40.0 | ||
v0.40.1 |