Skip to content

Commit dbfc59c

Browse files
authored
Merge pull request #9 from AliyunContainerService/fix-spelling-warings
Fix spelling warnings
2 parents 6189118 + d5bb108 commit dbfc59c

5 files changed

Lines changed: 10 additions & 3 deletions

File tree

.spelling

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,10 @@ CONTRIBUTING.md
1414
DaemonSet
1515
LibOS
1616
K8s
17+
aesmd
18+
aesm.socket
19+
enable-aesm-socket-attach
20+
sgx-device-plugin-enable-aesm-socket-attach
21+
e.g.
22+
yml
23+
yaml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ spec:
145145
146146
If you want a remote attestation, aesm.socket MUST BE mounted inside application containers. There are two ways to achieve it:
147147
148-
Way 1: Mount aesm.socket (i.e. /var/run/aesmd/aesm.socket) inside your application containers manually, maybe like this:
148+
Way 1: Mount aesm.socket (e.g. /var/run/aesmd/aesm.socket) inside your application containers manually, maybe like this:
149149
150150
```yaml
151151
apiVersion: v1
@@ -174,7 +174,7 @@ spec:
174174

175175
```
176176

177-
Way 2: Enable AESM socket attachment of sgx-device-plugin (via --enable-aesm-socket-attach=true) which will help you mount ASEM socket inside your application containers automatically. See deploy/sgx-device-plugin-enable-aesm.yml.
177+
Way 2: Enable AESM socket attachment of sgx-device-plugin (via --enable-aesm-socket-attach=true) which will help you mount ASEM socket inside your application containers automatically. See [deploy/sgx-device-plugin-enable-aesm-socket-attach.yaml](deploy/sgx-device-plugin-enable-aesm-socket-attach.yaml).
178178

179179
## FAQ
180180

File renamed without changes.

pkg/device_plugin/device_plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (m *SGXDevicePlugin) Allocate(ctx context.Context, reqs *devicepluginapi.Al
9292
"SGX_VISIBLE_DEVICES": strings.Join(req.DevicesIDs, ","),
9393
},
9494
Devices: devices,
95-
Mounts: mounts,
95+
Mounts: mounts,
9696
}
9797

9898
klog.Infof("[Allocate] %s", req.String())

0 commit comments

Comments
 (0)