Skip to content

Commit

Permalink
rm nolint
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Mar 8, 2023
1 parent 194e367 commit 23eb7fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/config/v1alpha1/validation/envoyproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,10 @@ func validateBootstrap(bstrap *string) error {
}

// Ensure dynamic resources config is same
// nolint:copylocks
if userBootstrap.DynamicResources == nil || !reflect.DeepEqual(*userBootstrap.DynamicResources, *defaultBootstrap.DynamicResources) {
return fmt.Errorf("dynamic_resources cannot be modified")
}
// Ensure layered runtime resources config is same
// nolint:copylocks
if userBootstrap.LayeredRuntime == nil || !reflect.DeepEqual(*userBootstrap.LayeredRuntime, *defaultBootstrap.LayeredRuntime) {
return fmt.Errorf("layered_runtime cannot be modified")
}
Expand Down

0 comments on commit 23eb7fa

Please sign in to comment.