Resolved merge conflicts with the master. Also, added TODO in README to use Go1.8 techniques.

This commit is contained in:
Pradyumna Kaushik 2017-04-21 17:17:22 -04:00
commit 1b15bb14e7
24 changed files with 122 additions and 101 deletions

View file

@ -43,7 +43,7 @@ func TasksFromJSON(uri string) ([]Task, error) {
func (tsk *Task) UpdateHost(newHost string) bool {
// Validation
isCorrectHost := false
for _, existingHost := range constants.Hosts {
for existingHost, _ := range constants.Hosts {
if newHost == existingHost {
isCorrectHost = true
}