Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenko-v committed Sep 30, 2024
1 parent b7b5c97 commit 1dbed29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/snippet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,11 @@ func (SnippetExecutor) Execute(ctx context.Context, in executor.ExecuteInput) (e
}
channelID := cfg.ChannelID
botToken, err := getBotToken()

if channelID != "ddd" {
return executor.ExecuteOutput{
Message: api.NewCodeBlockMessage(fmt.Sprintf("ChannelID: %s", channelID), false),
}, nil
}
// Step 1: Execute the command
content, err := executeCommand(ctx, cmd, in.Context.KubeConfig)
if err != nil {
Expand Down

0 comments on commit 1dbed29

Please sign in to comment.