Browse Source

add: continue

Ben 1 year ago
parent
commit
55cf533b44
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmd/slave.go

+ 1 - 0
cmd/slave.go

@@ -46,6 +46,7 @@ func main() {
 		resp, err := http.Post("http://localhost:8080/register", "application/json", reader)
 		if err != nil {
 			log.Printf("err: %+v", err)
+			continue
 		}
 		respBody, err := io.ReadAll(resp.Body)
 		if err != nil {