Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Get-AnsibleSchedule.ps1 throw an exception for next_run null value #23

Open
thylocene opened this issue Nov 11, 2019 · 0 comments
Open

Comments

@thylocene
Copy link

thylocene commented Nov 11, 2019

Next_run can be null. Get-AnsibleSchedule.ps1 throws an exception for next_run null value

Exception calling "ParseToSchedule" with "1" argument(s): "Error converting value {null} to type 'System.DateTime'. Path 'next_run', line 73, position 21."
At C:\Program Files\WindowsPowerShell\Modules\AnsibleTower\1.0.135\ExportedFunctions\Get-AnsibleSchedule.ps1:117 char:13

  •         $AnsibleObject = [AnsibleTower.JsonFunctions]::ParseTosch ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : JsonSerializationException
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant