Skip to content

Commit

Permalink
backport of commit 2f2aad5
Browse files Browse the repository at this point in the history
  • Loading branch information
kisunji authored and Chris S. Kim committed Jun 29, 2023
1 parent fc43c3e commit a6f7ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/consul/leader_connect_ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ func shouldPersistNewRootAndConfig(newActiveRoot *structs.CARoot, oldConfig, new
return false
}

// Need not persist when the provider, old and new config is the same
// Do not persist if the new provider and config are the same as the old
return !(newConfig.Provider == oldConfig.Provider && reflect.DeepEqual(newConfig.Config, oldConfig.Config))
}

Expand Down

0 comments on commit a6f7ba5

Please sign in to comment.