From 6472372d53f5e1f147becc076a97c605e9ebf9a7 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 17 Aug 2015 00:14:53 +0200 Subject: [PATCH] Fix minor bugs. --- lib/qasim/map.rb | 2 +- lib/qasim/map/ssh.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/qasim/map.rb b/lib/qasim/map.rb index be0b7a5..c20a854 100644 --- a/lib/qasim/map.rb +++ b/lib/qasim/map.rb @@ -65,7 +65,7 @@ module Qasim ; module Map line = line.strip linect += 1 - line = env_substitute(line, linect) + line = env_substitute(line) case line when /^\s*TYPE\s*=\s*(.*)\s*$/ then diff --git a/lib/qasim/map/ssh.rb b/lib/qasim/map/ssh.rb index 72335d3..09112db 100644 --- a/lib/qasim/map/ssh.rb +++ b/lib/qasim/map/ssh.rb @@ -35,6 +35,7 @@ class Qasim::Map::Ssh < Qasim::Map::Generic # Set defaults properties for maps # def initialize config, map_path + super @config = config @path = map_path @host = nil