docs and review change for IS multivault

Mention inventory sources /credentials/ endpoint in docs
Also change means of identifying projects for the purose
of injecting custom credentials
This commit is contained in:
AlanCoding
2018-02-19 14:46:39 -05:00
parent 9c4d89f512
commit bb6032cff6
3 changed files with 18 additions and 8 deletions

View File

@@ -927,8 +927,8 @@ class BaseTask(LogErrorsTask):
elif isinstance(instance, InventoryUpdate):
# TODO: allow multiple custom creds for inv updates
credentials = [instance.get_cloud_credential()]
elif hasattr(instance, 'credential'):
# once other UnifiedJobs (project updates)
elif isinstance(instance, Project):
# once (or if) project updates
# move from a .credential -> .credentials model, we can
# lose this block
credentials = [instance.credential]