]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/services/svc_quota.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rgw / services / svc_quota.cc
CommitLineData
9f95a23c
TL
1// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2// vim: ts=8 sw=2 smarttab ft=cpp
3
11fdf7f2
TL
4#include "svc_quota.h"
5#include "svc_zone.h"
6
1e59de90 7#include "rgw_zone.h"
11fdf7f2
TL
8
9const RGWQuotaInfo& RGWSI_Quota::get_bucket_quota() const
10{
1e59de90 11 return zone_svc->get_current_period().get_config().quota.bucket_quota;
11fdf7f2
TL
12}
13
14const RGWQuotaInfo& RGWSI_Quota::get_user_quota() const
15{
1e59de90 16 return zone_svc->get_current_period().get_config().quota.user_quota;
11fdf7f2
TL
17}
18