Skip to content

Commit 1666d12

Browse files
committed
WIP: Demo store for testing
While we wait for the API vendor bump to land
1 parent 2d20661 commit 1666d12

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/customsignaturestore/customsignaturestore.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ func (s *Store) refreshConfiguration(ctx context.Context) ([]*url.URL, error) {
7070
return uris, err
7171
}
7272

73-
if config.Spec.SignatureStores != nil {
74-
uris = make([]*url.URL, 0, len(config.Spec.SignatureStores))
75-
for _, uriString := range config.Spec.SignatureStores {
73+
fmt.Printf("ignoring %v until the API lands", config.Spec)
74+
// signatureStores := config.Spec.SignatureStores FIXME: once the API pull lands
75+
signatureStores := []string{"https://raw.githubusercontent.com/wking/cincinnati-graph-data/signatureStores-demo"}
76+
if signatureStores != nil {
77+
uris = make([]*url.URL, 0, len(signatureStores))
78+
for _, uriString := range signatureStores {
7679
uri, err := url.Parse(uriString)
7780
if err != nil {
7881
return uris, err

0 commit comments

Comments
 (0)