Fix layered profiles not readable via the API

This commit is contained in:
Patrick Pacher 2020-10-30 16:45:37 +01:00
parent fb6b34ebe5
commit 079128f9de
No known key found for this signature in database
GPG key ID: E8CD2DA160925A6D

View file

@ -27,8 +27,6 @@ func registerRevisionProvider() error {
}
func getRevisions(key string) ([]record.Record, error) {
log.Warningf("loading for key " + key)
key = strings.TrimPrefix(key, revisionProviderPrefix)
var profiles []*Profile