From eaeb93230dd6ac31b648aec37abdc107b670bae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Fri, 26 Mar 2021 16:46:31 +0100 Subject: [PATCH 1/2] fix(analyser): link to docs about limitations --- pkg/analyser/analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyser/analyzer.go b/pkg/analyser/analyzer.go index a91547502..a4c1eec2d 100644 --- a/pkg/analyser/analyzer.go +++ b/pkg/analyser/analyzer.go @@ -18,7 +18,7 @@ func newUnmanagedSecurityGroupRulesAlert() *UnmanagedSecurityGroupRulesAlert { } func (u *UnmanagedSecurityGroupRulesAlert) Message() string { - return "You have unmanaged security group rules that could be false positives, find out more at https://github.com/cloudskiff/driftctl/blob/main/doc/LIMITATIONS.md#terraform-resources" + return "You have unmanaged security group rules that could be false positives, find out more at https://docs.driftctl.com/0.7.0/limitations#terraform-resources" } func (u *UnmanagedSecurityGroupRulesAlert) ShouldIgnoreResource() bool { From dc0d5d9886948895505eb5d8a9be00b050762e23 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Fri, 26 Mar 2021 18:05:43 +0100 Subject: [PATCH 2/2] chore: fix lint errors --- pkg/analyser/analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyser/analyzer.go b/pkg/analyser/analyzer.go index a4c1eec2d..14df5f0fd 100644 --- a/pkg/analyser/analyzer.go +++ b/pkg/analyser/analyzer.go @@ -18,7 +18,7 @@ func newUnmanagedSecurityGroupRulesAlert() *UnmanagedSecurityGroupRulesAlert { } func (u *UnmanagedSecurityGroupRulesAlert) Message() string { - return "You have unmanaged security group rules that could be false positives, find out more at https://docs.driftctl.com/0.7.0/limitations#terraform-resources" + return "You have unmanaged security group rules that could be false positives, find out more at https://docs.driftctl.com/0.7.0/limitations#terraform-resources" } func (u *UnmanagedSecurityGroupRulesAlert) ShouldIgnoreResource() bool {