summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/leap_cli/config/manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb
index 92cf190..8ab8e2f 100644
--- a/lib/leap_cli/config/manager.rb
+++ b/lib/leap_cli/config/manager.rb
@@ -19,7 +19,7 @@ module LeapCli
attr_reader :services, :tags, :nodes, :provider, :common, :secrets
def facts
- @facts ||= JSON.parse(Util.read_file(:facts) || {})
+ @facts ||= JSON.parse(Util.read_file(:facts) || "{}")
end
##