Skip to content

Commit ed435ff

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
remove version from resource metadata
1 parent 4844a3b commit ed435ff

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

dsc/tests/dsc_group.tests.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ metadata:
1818
results:
1919
- metadata:
2020
Microsoft.DSC:
21-
version: 0.1.0
2221
duration: *
2322
name: First Group
2423
type: Microsoft.DSC/Group
2524
result:
2625
- metadata:
2726
Microsoft.DSC:
28-
version: 0.1.0
2927
duration: *
3028
name: First
3129
type: Test/Echo
@@ -34,14 +32,12 @@ results:
3432
output: First
3533
- metadata:
3634
Microsoft.DSC:
37-
version: 0.1.0
3835
duration: *
3936
name: Nested Group
4037
type: Microsoft.DSC/Group
4138
result:
4239
- metadata:
4340
Microsoft.DSC:
44-
version: 0.1.0
4541
duration: *
4642
name: Nested First
4743
type: Test/Echo
@@ -50,7 +46,6 @@ results:
5046
output: Nested First
5147
- metadata:
5248
Microsoft.DSC:
53-
version: 0.1.0
5449
duration: *
5550
name: Nested Second
5651
type: Test/Echo
@@ -59,14 +54,12 @@ results:
5954
output: Nested Second
6055
- metadata:
6156
Microsoft.DSC:
62-
version: 0.1.0
6357
duration: *
6458
name: Last Group
6559
type: Microsoft.DSC/Group
6660
result:
6761
- metadata:
6862
Microsoft.DSC:
69-
version: 0.1.0
7063
duration: *
7164
name: Last
7265
type: Test/Echo

dsc_lib/src/configure/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ impl Configurator {
250250
Metadata {
251251
microsoft: Some(
252252
MicrosoftDscMetadata {
253-
version: Some(dsc_resource.version.clone()),
254253
duration: Some(end_datetime.signed_duration_since(start_datetime).to_string()),
255254
..Default::default()
256255
}
@@ -326,7 +325,6 @@ impl Configurator {
326325
Metadata {
327326
microsoft: Some(
328327
MicrosoftDscMetadata {
329-
version: Some(dsc_resource.version.clone()),
330328
duration: Some(end_datetime.signed_duration_since(start_datetime).to_string()),
331329
..Default::default()
332330
}
@@ -369,7 +367,6 @@ impl Configurator {
369367
Metadata {
370368
microsoft: Some(
371369
MicrosoftDscMetadata {
372-
version: Some(dsc_resource.version.clone()),
373370
duration: Some(end_datetime.signed_duration_since(start_datetime).to_string()),
374371
..Default::default()
375372
}
@@ -429,7 +426,6 @@ impl Configurator {
429426
Metadata {
430427
microsoft: Some(
431428
MicrosoftDscMetadata {
432-
version: Some(dsc_resource.version.clone()),
433429
duration: Some(end_datetime.signed_duration_since(start_datetime).to_string()),
434430
..Default::default()
435431
}

0 commit comments

Comments
 (0)