Fix vet issues in model (#20784)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e665542c91
Коммит
1fe750ac9b
@@ -159,8 +159,8 @@ func (f *RemoteClusterFrame) IsValid() *AppError {
|
||||
return NewAppError("RemoteClusterFrame.IsValid", "api.remote_cluster.invalid_id.app_error", nil, "RemoteId="+f.RemoteId, http.StatusBadRequest)
|
||||
}
|
||||
|
||||
if err := f.Msg.IsValid(); err != nil {
|
||||
return err
|
||||
if appErr := f.Msg.IsValid(); appErr != nil {
|
||||
return appErr
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Ссылка в новой задаче
Block a user