Skip to content

Commit 451856a

Browse files
author
John Howard
committed
Windows: Fix camelCase
Signed-off-by: John Howard <[email protected]>
1 parent e6c9689 commit 451856a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

config-windows.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ The following parameters can be specified:
106106

107107
## <a name="configWindowsCredentialSpec" />Credential Spec
108108

109-
You can configure a container's group Managed Service Account (gMSA) via the OPTIONAL `credentialspec` field of the Windows configuration.
110-
The `credentialspec` is a JSON object whose properties are implementation-defined.
109+
You can configure a container's group Managed Service Account (gMSA) via the OPTIONAL `credentialSpec` field of the Windows configuration.
110+
The `credentialSpec` is a JSON object whose properties are implementation-defined.
111111
For more information about gMSAs, see [Active Directory Service Accounts for Windows Containers][gMSAOverview].
112112
For more information about tooling to generate a gMSA, see [Deployment Overview][gMSATooling].
113113

@@ -130,13 +130,13 @@ You can indicate that a container should be started in a mode to apply pending s
130130

131131
## <a name="configWindowsIgnoreFlushesDuringBoot" />IgnoreFlushesDuringBoot
132132

133-
You can indicate that a container should be started in an a mode where disk flushes are not performed during container boot via the OPTIONAL `ignoreflushesduringboot` field of the Windows configuration.
133+
You can indicate that a container should be started in an a mode where disk flushes are not performed during container boot via the OPTIONAL `ignoreFlushesDuringBoot` field of the Windows configuration.
134134

135135
### Example
136136

137137
```json
138138
"windows": {
139-
"ignoreflushesduringboot": true
139+
"ignoreFlushesDuringBoot": true
140140
}
141141
```
142142

@@ -146,14 +146,14 @@ You can indicate that a container should be started in an a mode where disk flus
146146

147147
The following parameters can be specified:
148148

149-
* **`utilityvmpath`** *(string, OPTIONAL)* - specifies the path to the image used for the utility VM. This would be specified if using a base image which does not contain a utility VM image. If not supplied, the runtime will search the container filesystem layers from the bottom-most layer upwards, until it locates "UtilityVM", and default to that path.
149+
* **`utilityVMPath`** *(string, OPTIONAL)* - specifies the path to the image used for the utility VM. This would be specified if using a base image which does not contain a utility VM image. If not supplied, the runtime will search the container filesystem layers from the bottom-most layer upwards, until it locates "UtilityVM", and default to that path.
150150

151151
### Example
152152

153153
```json
154154
"windows": {
155155
"hyperv": {
156-
"utilityvmpath": "C:\\path\\to\\utilityvm"
156+
"utilityVMPath": "C:\\path\\to\\utilityvm"
157157
}
158158
}
159159
```

specs-go/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,11 +433,11 @@ type Windows struct {
433433
// Resources contains information for handling resource constraints for the container.
434434
Resources *WindowsResources `json:"resources,omitempty"`
435435
// CredentialSpec contains a JSON object describing a group Managed Service Account (gMSA) specification.
436-
CredentialSpec interface{} `json:"credentialspec,omitempty"`
436+
CredentialSpec interface{} `json:"credentialSpec,omitempty"`
437437
// Servicing indicates if the container is being started in a mode to apply a Windows Update servicing operation.
438438
Servicing bool `json:"servicing,omitempty"`
439439
// IgnoreFlushesDuringBoot indicates if the container is being started in a mode where disk writes are not flushed during its boot process.
440-
IgnoreFlushesDuringBoot bool `json:"ignoreflushesduringboot,omitempty"`
440+
IgnoreFlushesDuringBoot bool `json:"ignoreFlushesDuringBoot,omitempty"`
441441
// HyperV contains information for running a container with Hyper-V isolation.
442442
HyperV *WindowsHyperV `json:"hyperv,omitempty"`
443443
// Network restriction configuration.
@@ -495,7 +495,7 @@ type WindowsNetwork struct {
495495
// WindowsHyperV contains information for configuring a container to run with Hyper-V isolation.
496496
type WindowsHyperV struct {
497497
// UtilityVMPath is an optional path to the image used for the Utility VM.
498-
UtilityVMPath string `json:"utilityvmpath,omitempty"`
498+
UtilityVMPath string `json:"utilityVMPath,omitempty"`
499499
}
500500

501501
// LinuxSeccomp represents syscall restrictions

0 commit comments

Comments
 (0)