Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Jul 30, 2023
1 parent 15b8391 commit 1a3feab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/envoyfilter/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (c *Controller) pushEnvoyFilters2APIServer() error {
if newEnvoyFilter, ok := generatedEnvoyFilters[mapKey]; ok {
if !proto.Equal(newEnvoyFilter.Envoyfilter, &oldEnvoyFilter.Spec) {
controllerLog.Infof("updating EnvoyFilter: namespace: %s name: %s %v", newEnvoyFilter.Namespace,
newEnvoyFilter.Name, model.Struct2JSON(*newEnvoyFilter.Envoyfilter))
newEnvoyFilter.Name, model.Struct2JSON(newEnvoyFilter.Envoyfilter))
_, err = c.istioClientset.NetworkingV1alpha3().EnvoyFilters(newEnvoyFilter.Namespace).Update(context.TODO(),
c.toEnvoyFilterCRD(newEnvoyFilter, oldEnvoyFilter),
v1.UpdateOptions{FieldManager: constants.AerakiFieldManager})
Expand Down

0 comments on commit 1a3feab

Please sign in to comment.