From c8a15da10f5243eb567d9bffa6940d54ee707ab2 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 25 Dec 2018 16:43:42 +0100 Subject: [PATCH] fix rake task syntax --- lib/tasks/client.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/client.rake b/lib/tasks/client.rake index c4b4702cb..535516c25 100644 --- a/lib/tasks/client.rake +++ b/lib/tasks/client.rake @@ -101,8 +101,8 @@ namespace :client do end prefixes.each do |prefix| - provider_prefix = ProviderPrefix.create(provider: target.allocator.symbol, prefix: prefix) - puts "Provider prefix for provider #{target.allocator.symbol} and prefix #{prefix} created." + provider_prefix = ProviderPrefix.create(provider: target.provider.symbol, prefix: prefix) + puts "Provider prefix for provider #{target.provider.symbol} and prefix #{prefix} created." client_prefix = ClientPrefix.create(client: target.symbol, prefix: prefix, provider_prefix: provider_prefix.id) puts "Client prefix for client #{target.symbol} and prefix #{prefix} created." end