Remove location information for now

This commit is contained in:
Lennart Kats 2025-01-27 13:06:58 +01:00
parent b31ed2dc96
commit 9466bdc1e0
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
1 changed files with 6 additions and 8 deletions

View File

@ -169,7 +169,6 @@ func validateProductionMode(ctx context.Context, b *bundle.Bundle, isPrincipalUs
Severity: diag.Recommendation,
Summary: "target with 'mode: production' should " + advice,
Detail: adviceDetail,
Locations: b.Config.GetLocations("targets." + b.Config.Bundle.Target),
},
}
}
@ -178,7 +177,6 @@ func validateProductionMode(ctx context.Context, b *bundle.Bundle, isPrincipalUs
Severity: diag.Error,
Summary: "target with 'mode: production' must " + advice,
Detail: adviceDetail,
Locations: b.Config.GetLocations("targets." + b.Config.Bundle.Target),
},
}
}