Removing unused constants

This commit is contained in:
Armon Dadgar 2014-07-15 14:51:54 -07:00
parent 8691a3ce91
commit 2c3e619960
2 changed files with 0 additions and 16 deletions

View File

@ -17,19 +17,6 @@ import (
) )
const ( const (
// DefaultUser is used if there is no default user given
DefaultUser = "root"
// DefaultPort is used if there is no port given
DefaultPort = 22
// DefaultScriptPath is used as the path to copy the file to
// for remote execution if not provided otherwise.
DefaultScriptPath = "/tmp/script.sh"
// DefaultTimeout is used if there is no timeout given
DefaultTimeout = 5 * time.Minute
// DefaultShebang is added at the top of the script file // DefaultShebang is added at the top of the script file
DefaultShebang = "#!/bin/sh" DefaultShebang = "#!/bin/sh"
) )

View File

@ -22,9 +22,6 @@ const (
// DefaultTimeout is used if there is no timeout given // DefaultTimeout is used if there is no timeout given
DefaultTimeout = 5 * time.Minute DefaultTimeout = 5 * time.Minute
// DefaultShebang is added at the top of the script file
DefaultShebang = "#!/bin/sh"
) )
// SSHConfig is decoded from the ConnInfo of the resource. These // SSHConfig is decoded from the ConnInfo of the resource. These