[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: The methods add_authorized_ssh_key and remove_authorized_ssh_key -- are they used?




----- Original Message -----
> 
> I was looking around OpenShift Origin code and came across methods
> 
> 	add_authorized_ssh_key
> 	remove_authorized_ssh_key
> 
> in
> 
> 	plugins/msg-broker/mcollective/lib/openshift/mcollective_application_container_proxy.rb
> 
> Are they actually used anywhere? 

I think they may be artifacts of the move from simple RPC (sending bourne shell fragments from broker to node) to the more rigorous job based mechanism.

There are
> 
> 	get_add_authorized_ssh_key_job
> 	get_remove_authorized_ssh_key_job
> 	get_fix_authorized_ssh_keys_job
> 
> there as well which are invoked from controller/app/models/* but the
> non-job variants don't seem to have a caller.
> 
> Are they a dead code or is my grep-foo failing me for example because
> the names of the methods are somehow dynamically generated?
> 
> --
> Jan Pazdziora
> Principal Software Engineer, Identity Management Engineering, Red Hat
> 
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]