botkube/pkg
Girish Talekar 23498c01bb
remove unwanted hyperlink text from command (#461)
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
 - Bug fix Pull Request

##### SUMMARY
When clustername is passed to botkube from command and if that clustername contains valid domain then slack automatically adds <http:// to the url  
eg.  
if command is `@BotKube get pods --cluster-name xyz.alpha-sense.org`  then in botkube we get cluster name as `<http://xyz.alpha-sense.org|xyz.alpha-sense.org>`

#### Solution:
Added small logic in executor code to remove the unwanted string

Fixes https://github.com/infracloudio/botkube/issues/460
2021-03-10 06:34:45 +00:00
..
bot Remove whitespaces in the responses (#452) 2021-01-28 18:36:17 +00:00
config corrected defaultNamespace population and avoid appending defaultnamespace if already passed (#459) 2021-02-24 16:21:41 +00:00
controller added test for skip delete event when resources are not added in test_config (#405) 2020-10-14 12:14:54 +00:00
events Fix namespace checker filter (#449) 2021-01-20 06:49:48 +00:00
execute remove unwanted hyperlink text from command (#461) 2021-03-10 06:34:45 +00:00
filterengine Fix namespace checker filter (#449) 2021-01-20 06:49:48 +00:00
log Refactor logging package (#262) (#285) 2020-06-16 04:43:56 +00:00
metrics Add license headers to source files (#266) 2020-04-27 09:20:16 +05:30
notify Fix notification timestsamp in Discord (#442) 2021-01-03 09:44:18 +00:00
utils remove unwanted hyperlink text from command (#461) 2021-03-10 06:34:45 +00:00