Skip to content

Commit 20b0737

Browse files
temblekingrung
andauthored
Fix alert with notification channels (#25)
* Add team resource Signed-off-by: Hiroki Suezawa <suezawa@gmail.com> * fix: sysdig_monitor_alert_metric crashing when using notification_channels Signed-off-by: Federico Barcelona <fede_rico_94@hotmail.com> Co-authored-by: Hiroki Suezawa <suezawa@gmail.com>
1 parent 7866876 commit 20b0737

File tree

6 files changed

+102
-34
lines changed

6 files changed

+102
-34
lines changed

GNUmakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ TEST?=./...
33
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
44
PKG_NAME=sysdig
55
WEBSITE_REPO=github.com/hashicorp/terraform-website
6+
VERSION=$(shell [ ! -z `git tag -l --contains HEAD` ] && git tag -l --contains HEAD || git rev-parse --short HEAD)
67

78
default: build
89

@@ -53,7 +54,8 @@ release: fmtcheck
5354
for dist in $$(go tool dist list | grep $$kernel); do \
5455
GOOS=$$kernel; \
5556
GOARCH=$$(echo $$dist | cut -d/ -f2); \
56-
GOOS=$$GOOS GOARCH=$$GOARCH go build -o terraform-provider-sysdig-$$GOOS-$$GOARCH; \
57+
GOOS=$$GOOS GOARCH=$$GOARCH go build -o terraform-provider-sysdig_$(VERSION); \
58+
tar -czf terraform-provider-sysdig-$$GOOS-$$GOARCH.tar.gz terraform-provider-sysdig_$(VERSION) --remove-files; \
5759
done \
5860
done
5961

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/draios/terraform-provider-sysdig
22

33
go 1.12
44

5-
require github.com/hashicorp/terraform-plugin-sdk v1.0.0
5+
require github.com/hashicorp/terraform-plugin-sdk v1.10.0

0 commit comments

Comments
 (0)