Removing unused constants
This commit is contained in:
parent
8691a3ce91
commit
2c3e619960
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue