Shorter comment for SetEventDisplayMessage

This commit is contained in:
Preetha 2017-11-18 09:30:50 -06:00 committed by GitHub
parent 3592635ede
commit ff23499145
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4919,8 +4919,9 @@ func (a *Allocation) ShouldMigrate() bool {
return true
}
// SetEventDisplayMessage populates the display message if its not already set
// this is to handle old allocations that don't have it, and this method will be removed in a future release
// SetEventDisplayMessage populates the display message if its not already set,
// a temporary fix to handle old allocations that don't have it.
// This method will be removed in a future release.
func (a *Allocation) SetEventDisplayMessages() {
setDisplayMsg(a.TaskStates)
}
@ -4969,8 +4970,9 @@ type AllocListStub struct {
ModifyTime int64
}
// SetEventDisplayMessage populates the display message if its not already set
// this is a temporary fix to handle old allocations that don't have display message populated, and this method will be removed in a future release
// SetEventDisplayMessage populates the display message if its not already set,
// a temporary fix to handle old allocations that don't have it.
// This method will be removed in a future release.
func (a *AllocListStub) SetEventDisplayMessages() {
setDisplayMsg(a.TaskStates)
}