lib/kontena/plugin/azure/nodes/create_command.rb in kontena-plugin-azure-0.2.0.pre1 vs lib/kontena/plugin/azure/nodes/create_command.rb in kontena-plugin-azure-0.2.0
- old
+ new
@@ -38,10 +38,10 @@
# @param [Kontena::Client] client
# @param [String] subscription_id
# @param [String] certificate
# @return [Kontena::Machine::Azure::NodeProvisioner]
def provisioner(client, subscription_id, certificate)
- Kontena::Machine::Azure::NodeProvisioner.new
+ Kontena::Machine::Azure::NodeProvisioner.new client, subscription_id, certificate
end
# @return [Hash]
def fetch_grid
client(require_token).get("grids/#{current_grid}")