Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshahid authored and pauldix committed May 27, 2014
1 parent 6605bce commit 4d1e818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coordinator/raft_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,13 @@ func (s *RaftServer) ChangeConnectionString(raftName, protobufConnectionString,
for _, s := range s.raftServer.Peers() {
// send the command and ignore errors in case a server is down
SendCommandToServer(s.ConnectionString, command)
fmt.Printf("sent changeconnectionstring to %s\n", s.ConnectionString)
log.Info("sent command to change port to %s", s.ConnectionString)
}

// make the change permament
command.Force = false
_, err := s.doOrProxyCommand(command)
fmt.Printf("Running the actual command\n")
log.Info("Running the actual command")
return err
}

Expand Down

0 comments on commit 4d1e818

Please sign in to comment.