Rename Topic to TopicPattern in Grant
This commit is contained in:
@@ -280,9 +280,9 @@ func (a *SQLiteAuth) readGrants(username string) ([]Grant, error) {
|
||||
return nil, err
|
||||
}
|
||||
grants = append(grants, Grant{
|
||||
Topic: fromSQLWildcard(topic),
|
||||
Read: read,
|
||||
Write: write,
|
||||
TopicPattern: fromSQLWildcard(topic),
|
||||
Read: read,
|
||||
Write: write,
|
||||
})
|
||||
}
|
||||
return grants, nil
|
||||
|
||||
Reference in New Issue
Block a user