Skip to content

Commit 0dfb343

Browse files
cpoilelevb
authored andcommitted
bug and version bump (#17)
1 parent 5b3ac95 commit 0dfb343

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "com.mattermost.aws-sns",
33
"name": "AWS SNS",
44
"description": "Send alert notifications from [Amazon AWS CloudWatch](https://aws.amazon.com/cloudwatch/) to Mattermost channels via AWS SNS",
5-
"version": "0.1.1",
5+
"version": "1.0.0",
66
"server": {
77
"executables": {
88
"linux-amd64": "server/dist/plugin-linux-amd64",

server/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ var manifest = struct {
55
Version string
66
}{
77
Id: "com.mattermost.aws-sns",
8-
Version: "0.1.1",
8+
Version: "1.0.0",
99
}

server/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (p *Plugin) OnActivate() error {
6868
}
6969

7070
newChannel, errChannel := p.API.CreateChannel(channelToCreate)
71-
if err != nil {
71+
if errChannel != nil {
7272
return errChannel
7373
}
7474
p.ChannelID = newChannel.Id

0 commit comments

Comments
 (0)