Skip to content

Commit 8948183

Browse files
authored
added deprecated note
1 parent 5b6d3e0 commit 8948183

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

libraries/message/src/descriptor.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -677,10 +677,9 @@ pub struct CustomNode {
677677
pub source: NodeSource,
678678
/// Args for the executable.
679679
#[serde(default, skip_serializing_if = "Option::is_none")]
680-
pub args: Option<String>,
681-
/// Environment variables for the custom nodes
682-
///
683-
/// Deprecated, use outer-level `env` field instead.
680+
pub args: Option<String>,
681+
/// Environment variables for the custom nodes.
682+
#[deprecated(note = "Use the outer-level `env` field on `Node` instead")]
684683
pub envs: Option<BTreeMap<String, EnvValue>>,
685684
#[serde(default, skip_serializing_if = "Option::is_none")]
686685
pub build: Option<String>,

0 commit comments

Comments
 (0)