Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
feature/bootstrap: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Konovalov committed Nov 2, 2024
1 parent bfbfc0f commit 36b5687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if os.getenv('ADMIN') then
end

-- Call a configuration provider
cfg = {
local cfg = {
sharding = {
['cbf06940-0790-498b-948d-042b62cf3d29'] = { -- replicaset #1
replicas = {
Expand Down Expand Up @@ -48,7 +48,7 @@ cfg = {


-- Name to uuid map
names = {
local names = {
['storage_1_a'] = '8a274925-a26d-47fc-9e1b-af88ce939412',
['storage_1_b'] = '3de2e3e1-9ebe-4d0d-abb1-26d301b84633',
['storage_1_c'] = '3de2e3e1-9ebe-4d0d-abb1-26d301b84635',
Expand Down Expand Up @@ -106,7 +106,7 @@ box.once("testapp:schema:1", function()
box.schema.role.grant('public', 'execute', 'function', 'raise_client_error')
end)

function insert_customer(customer)
local function insert_customer(customer)
box.space.customer:insert({customer.customer_id, customer.bucket_id, customer.name})
for _, account in ipairs(customer.accounts) do
box.space.account:insert({
Expand Down

0 comments on commit 36b5687

Please sign in to comment.