Skip to content

Commit

Permalink
docd: use spec_0_3_0 in README.md instead of latest
Browse files Browse the repository at this point in the history
Signed-off-by: David Bernard <david.bernard.31@gmail.com>
  • Loading branch information
davidB committed Mar 3, 2024
1 parent 4d183fa commit 9b1d7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To send a CDEvent as CloudEvent:
// from examples/pipelinerun_finished.rs
use std::error::Error;

use cdevents_sdk::{CDEvent, Subject, latest::pipelinerun_finished, Content};
use cdevents_sdk::{CDEvent, Subject, spec_0_3_0::pipelinerun_finished, Content};
use cloudevents::{Event, AttributesReader};

fn main() -> Result<(), Box<dyn Error>> {
Expand Down

0 comments on commit 9b1d7a3

Please sign in to comment.