<div dir="ltr">Okay. Sounds good. Update patch attached.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 7:18 AM, Martin Kosek <span dir="ltr"><<a href="mailto:mkosek@redhat.com" target="_blank">mkosek@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, right. But I still think that's a too-early optimization. We can add this<br>
callback when this necessity arises. Until then, I would rather prefer to keep<br>
the code clean.<br>
<span class="HOEnZb"><font color="#888888"><br>
Martin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 07/31/2014 03:17 PM, Gabe Alford wrote:<br>
> Right. The reason I added it in there is that I could see that in the<br>
> future trust_type could be more than just 'ad' (maybe 'ipa', 'krb', etc?)<br>
> which at that point I'm not sure a default makes sense. So, I thought to go<br>
> ahead and add the check for future use cases so that it doesn't have to be<br>
> remembered later. However, maybe that was just a bad idea as right now it<br>
> is a pointless check?<br>
><br>
> Gabe<br>
><br>
><br>
> On Thu, Jul 31, 2014 at 3:18 AM, Alexander Bokovoy <<a href="mailto:abokovoy@redhat.com">abokovoy@redhat.com</a>><br>
> wrote:<br>
><br>
>> On Thu, 31 Jul 2014, Martin Kosek wrote:<br>
>><br>
>>> Sorry for going late in the game, just a quick question - why do we want<br>
>>> to add<br>
>>> this part:<br>
>>><br>
>>> +        if trust_type is None:<br>
>>> +            kw['trust_type'] = self.prompt_param(self.params[<br>
>>> 'trust_type'])<br>
>>><br>
>>> ? I do not see a reason for adding a special interactive prompt callback<br>
>>> for<br>
>>> that - trust_type has a default value "ad". CCing Alexander to double<br>
>>> check.<br>
>>><br>
>> I also don't understand why you need to ask interactively for the<br>
>> trust_type as it defaults to non-empty value and this value is the only<br>
>> one we currently support.<br>
>><br>
>><br>
>> --<br>
>> / Alexander Bokovoy<br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>