chore(server): fix const ops (#5190)

This commit is contained in:
Irena Rindos authored and GitHub committed 2024-10-23 08:42:36 -04:00
1 parent a862dc1691
commit dfde64e648
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ func (r *Repository) listControllersWithReader(ctx context.Context, reader db.Re
}
func (r *Repository) UpsertController(ctx context.Context, controller *store.Controller) (int, error) {
const op = "server.UpsertController"
const op = "server.(Repository).UpsertController"
if controller == nil {
return db.NoRowsAffected, errors.New(ctx, errors.InvalidParameter, op, "controller is nil")