mirror of
				https://github.com/minio/minio.git
				synced 2025-10-30 00:05:02 -04:00 
			
		
		
		
	fix: a dynamic config will make a panic for addOrUpdateIDP (#18208)
This commit is contained in:
		
							parent
							
								
									5512016885
								
							
						
					
					
						commit
						f09756443d
					
				| @ -121,7 +121,7 @@ func addOrUpdateIDPHandler(ctx context.Context, w http.ResponseWriter, r *http.R | |||||||
| 
 | 
 | ||||||
| 	// IDP config is not dynamic. Sanity check. | 	// IDP config is not dynamic. Sanity check. | ||||||
| 	if dynamic { | 	if dynamic { | ||||||
| 		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) | 		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), "", r.URL) | ||||||
| 		return | 		return | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user