client_retries can be 0
This commit is contained in:
		@@ -384,7 +384,7 @@ func (c *cmd) Before(ctx *cli.Context) error {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// client opts
 | 
						// client opts
 | 
				
			||||||
	if r := ctx.Int("client_retries"); r > 0 {
 | 
						if r := ctx.Int("client_retries"); r >= 0 {
 | 
				
			||||||
		clientOpts = append(clientOpts, client.Retries(r))
 | 
							clientOpts = append(clientOpts, client.Retries(r))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user