Skip to content

Commit

Permalink
internal/trust/truststore: add . to .yaml files watched for
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Nov 13, 2024
1 parent 8e7417b commit 933cfad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/trust/truststore.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func Init(watcher *sys.Watcher, onUpdate func(oldRemotes, newRemotes Remotes) er
}

// Watch on the truststore directory for yaml updates.
watcher.Watch(dir, "yaml", func(path string, event fsnotify.Op) error {
watcher.Watch(dir, ".yaml", func(path string, event fsnotify.Op) error {
return ts.refresh(path)
})

Expand Down

0 comments on commit 933cfad

Please sign in to comment.