You've already forked woodpecker
							
							
				mirror of
				https://github.com/woodpecker-ci/woodpecker.git
				synced 2025-10-30 23:27:39 +02:00 
			
		
		
		
	fixed go vet issues
This commit is contained in:
		| @@ -123,10 +123,16 @@ Below are example values when running Drone locally. If you are running Drone on | ||||
| you should replace `localhost` with your server hostname or address. | ||||
|  | ||||
| Homepage URL: | ||||
|  | ||||
| ``` | ||||
| http://localhost:8000/ | ||||
| ``` | ||||
|  | ||||
| Authorization callback URL: | ||||
|  | ||||
| ``` | ||||
| http://localhost:8000/api/auth/github.com | ||||
| ``` | ||||
|  | ||||
| ## Compatibility Issues | ||||
|  | ||||
|   | ||||
| @@ -89,7 +89,7 @@ func (d *Director) GetAssignemnts() []*worker.Assignment { | ||||
| 	defer d.Unlock() | ||||
| 	assignments := []*worker.Assignment{} | ||||
| 	for work, _worker := range d.started { | ||||
| 		assignment := &worker.Assignment{work, _worker} | ||||
| 		assignment := &worker.Assignment{Work: work, Worker: _worker} | ||||
| 		assignments = append(assignments, assignment) | ||||
| 	} | ||||
| 	return assignments | ||||
|   | ||||
		Reference in New Issue
	
	Block a user