Skip to content

Commit

Permalink
Update example_remoteSign_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Zheng <patrickzheng@microsoft.com>
  • Loading branch information
byronchien and Two-Hearts committed Feb 1, 2023
1 parent 511bb9b commit 6deec4a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions example_remoteSign_test.go
Expand Up @@ -46,9 +46,10 @@ func Example_remoteSign() {
exampleRepo := registry.NewRepository(remoteRepo)

// exampleSignOptions is an example of notation.SignOptions.
exampleSignOptions := notation.RemoteSignOptions{}
exampleSignOptions.ArtifactReference = exampleArtifactReference
exampleSignOptions.SignatureMediaType = exampleSignatureMediaType
exampleSignOptions := notation.RemoteSignOptions{
ArtifactReference: exampleArtifactReference,
SignatureMediaType: exampleSignatureMediaType
}

// remote sign core process
// upon successful signing, descriptor of the sign content is returned and
Expand Down

0 comments on commit 6deec4a

Please sign in to comment.