Improve notifications
This commit is contained in:
		
							parent
							
								
									9e882d5853
								
							
						
					
					
						commit
						111f482e53
					
				|  | @ -86,7 +86,6 @@ func (s Slack) Send(event Event, config v1alpha2.Notification) error { | ||||||
| 						Short: true, | 						Short: true, | ||||||
| 					}, | 					}, | ||||||
| 				}, | 				}, | ||||||
| 				Footer: footerContent, |  | ||||||
| 			}, | 			}, | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | @ -63,7 +63,7 @@ func TestSlack_Send(t *testing.T) { | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		assert.Equal(t, mainAttachment.Footer, footerContent) | 		assert.Equal(t, mainAttachment.Footer, "") | ||||||
| 		assert.Equal(t, mainAttachment.Color, slack.getStatusColor(event.LogLevel)) | 		assert.Equal(t, mainAttachment.Color, slack.getStatusColor(event.LogLevel)) | ||||||
| 	})) | 	})) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue