lib/shelly/user.rb in shelly-0.0.21.pre5 vs lib/shelly/user.rb in shelly-0.0.21

- old
+ new

@@ -64,11 +64,11 @@ def config_dir File.expand_path("~/.shelly") end def upload_ssh_key - key = File.read(ssh_key_path).strip - shelly.add_ssh_key(key) + key = File.read(ssh_key_path) + shelly.update_ssh_key(key) end protected def credentials_path File.join(config_dir, "credentials")