Skip to content

Commit

Permalink
Remove zombie code from cmd/debug (#911)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
  • Loading branch information
uncleDecart authored Oct 27, 2023
1 parent a0dbf14 commit 9bb0133
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions cmd/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,6 @@ func newDebugCmd(cfg *openevec.EdenSetupArgs) *cobra.Command {
Use: "debug",
}

/*
if viperLoaded {
eveSSHKey = utils.ResolveAbsPath(viper.GetString("eden.ssh-key"))
extension := filepath.Ext(eveSSHKey)
eveSSHKey = strings.TrimRight(eveSSHKey, extension)
eveRemote = viper.GetBool("eve.remote")
eveRemoteAddr = viper.GetString("eve.remote-addr")
if eveRemote || eveRemoteAddr == "" {
if !cmd.Flags().Changed("eve-ssh-port") {
eveSSHPort = 22
}
}
}
*/

groups := CommandGroups{
{
Message: "Basic Commands",
Expand Down

0 comments on commit 9bb0133

Please sign in to comment.