Skip to content

deployProgress was undefined yet we tried to get attributes out of it#996

Merged
ssalinas merged 1 commit into
masterfrom
fix-undefined-on-request-page-after-deploy
Apr 20, 2016
Merged

deployProgress was undefined yet we tried to get attributes out of it#996
ssalinas merged 1 commit into
masterfrom
fix-undefined-on-request-page-after-deploy

Conversation

@Calvinp
Copy link
Copy Markdown
Contributor

@Calvinp Calvinp commented Apr 14, 2016

This fixes a small bug that was triggered when looking at a request page within a few seconds of adding a new deploy to that request.
The deployProgress attribute of that deploy is not yet defined, yet Singularity tried to get timestamp and deployStepWaitTimeMs out of it, causing an error to be logged to the console.

@ssalinas
Copy link
Copy Markdown
Contributor

👍 thanks for the fix @Calvinp

@ssalinas ssalinas modified the milestone: 0.6.0 Apr 15, 2016
@ssalinas
Copy link
Copy Markdown
Contributor

LGTM

@ssalinas ssalinas merged commit eb5e40d into master Apr 20, 2016
@ssalinas ssalinas deleted the fix-undefined-on-request-page-after-deploy branch April 20, 2016 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants