This commit is contained in:
Egor Kiryushchenko committed 2020-11-20 16:10:16 +03:00
1 parent 607ecf629c
commit 248801bbf7
7 files changed
+3 -7

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
//nolint
package state
import (
-1
View File
@@ -1,4 +1,3 @@
//nolint
package accounting
import (
+1 -1
View File
@@ -88,7 +88,7 @@ func Do(ctx *fasthttp.RequestCtx, path string) (int32, error) {
return 0, err
}
//TODO backward capability for isp-config-service 1.x.x
// TODO backward capability for isp-config-service 1.x.x
uuid := config.Get().(*conf.Configuration).InstanceUuid
ctx.Request.Header.Set(utils.InstanceIdHeader, uuid)
+1 -1
View File
@@ -6,7 +6,6 @@ import (
"net/http"
"time"
"github.com/golang/protobuf/proto"
structpb "github.com/golang/protobuf/ptypes/struct"
"github.com/integration-system/isp-lib/v2/backend"
"github.com/integration-system/isp-lib/v2/config"
@@ -21,6 +20,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/proto"
"isp-gate-service/conf"
"isp-gate-service/domain"
"isp-gate-service/log_code"
-1
View File
@@ -84,7 +84,6 @@ func (g getFileDesc) Complete(ctx *fasthttp.RequestCtx, method string, client *b
return domain.Create().SetError(err)
}
//nolint
func (getFileDesc) write(ctx *fasthttp.RequestCtx, stream isp.BackendService_RequestStreamClient, method string) error {
for {
msg, err := stream.Recv()
+1 -1
View File
@@ -1,4 +1,4 @@
package proxy //nolint
package proxy
import (
"testing"
-1
View File
@@ -1,4 +1,3 @@
//nolint
package matcher
import (