Skip to content

Commit b05ad76

Browse files
committed
rework readme example to simplify
Signed-off-by: Oisin Grehan <oisin.grehan@ionodes.com>
1 parent 724c8e7 commit b05ad76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Function Set-CloudEventXmlData 0.4.0 Cl
4545
## 1. Event Producer
4646
### Create a CloudEvent object
4747
```powershell
48-
$cloudEvent = New-CloudEvent -Type 'com.example.object.deleted.v2' -Source 'mailto:cncf-wg-serverless@lists.cncf.io' -Id (New-Guid).Guid -Time (Get-Date)
48+
$cloudEvent = New-CloudEvent -Type 'com.example.object.deleted.v2' -Source 'mailto:cncf-wg-serverless@lists.cncf.io'
4949
```
5050

5151
### Set **JSON Data** to a CloudEvent object

0 commit comments

Comments
 (0)