> On April 24, 2017, 10:51 a.m., Jonathan Hurley wrote: > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java > > Line 681 (original), 681 (patched) > > <https://reviews.apache.org/r/58668/diff/1/?file=1698104#file1698104line681> > > > > Why not supply them anymore? Seems like a performance penality if you > > pass in `null` > > Laszlo Puskas wrote: > +1 > > Attila Doroszlai wrote: > In this branch `clusterName == null` => `cluster == null` => > `desiredConfigs == null` always.
Still - that's just because of the typo; if we have the configs, we should pass them in, no? - Jonathan ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58668/#review172788 ----------------------------------------------------------- On April 24, 2017, 11:07 a.m., Attila Doroszlai wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58668/ > ----------------------------------------------------------- > > (Updated April 24, 2017, 11:07 a.m.) > > > Review request for Ambari, Jonathan Hurley, Laszlo Puskas, Sandor Magyari, > and Sebastian Toader. > > > Bugs: AMBARI-20832 > https://issues.apache.org/jira/browse/AMBARI-20832 > > > Repository: ambari > > > Description > ------- > > Fix trivial typo. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java > f604a7f8be9b2dad7810e46444ae79ead73f8a98 > > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java > ac6ac1d299947a3b4ba0f0f41f7a6f851b2a72db > > > Diff: https://reviews.apache.org/r/58668/diff/1/ > > > Testing > ------- > > ``` > $ mvn -am -pl ambari-server clean test > ... > Tests run: 4995, Failures: 0, Errors: 0, Skipped: 39 > ... > [INFO] BUILD SUCCESS > ``` > > > Thanks, > > Attila Doroszlai > >
