feat: add default no labels
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
94025a02ce
commit
5e1b585a2d
@ -26,7 +26,7 @@ struct ConfigFile {
|
||||
agent_id: String,
|
||||
discovery: String,
|
||||
|
||||
labels: BTreeMap<String, String>,
|
||||
labels: Option<BTreeMap<String, String>>,
|
||||
}
|
||||
|
||||
impl ConfigFile {
|
||||
@ -55,7 +55,7 @@ impl ConfigFile {
|
||||
let s = Self {
|
||||
agent_id: Uuid::new_v4().to_string(),
|
||||
discovery: discovery.into(),
|
||||
labels: labels.into(),
|
||||
labels: Some(labels.into()),
|
||||
};
|
||||
|
||||
let directory = dirs::data_dir()
|
||||
|
Loading…
Reference in New Issue
Block a user