Resolved merge conflicts with the master. Also, added TODO in README to use Go1.8 techniques.
This commit is contained in:
commit
1b15bb14e7
24 changed files with 122 additions and 101 deletions
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue