Merge pull request #121670 from kerthcet/bug/add-status-message
Fix empty status message in logging
This commit is contained in:
@@ -287,6 +287,10 @@ func (s *Status) Equal(x *Status) bool {
|
||||
return cmp.Equal(s.plugin, x.plugin)
|
||||
}
|
||||
|
||||
func (s *Status) String() string {
|
||||
return s.Message()
|
||||
}
|
||||
|
||||
// NewStatus makes a Status out of the given arguments and returns its pointer.
|
||||
func NewStatus(code Code, reasons ...string) *Status {
|
||||
s := &Status{
|
||||
|
Reference in New Issue
Block a user