Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
mtesseract committed Aug 5, 2022
1 parent f68d58c commit b8f1c06
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/dinosaur/pkg/handlers/dinosaur.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"net/http"

"github.com/golang/glog"
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/api/dbapi"

"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/api/public"
Expand Down Expand Up @@ -37,8 +36,6 @@ func NewDinosaurHandler(service services.DinosaurService, providerConfig *config

func validateCentralResourcesUnspecified(ctx context.Context, dinosaurRequest *public.CentralRequestPayload) handlers.Validate {
return func() *errors.ServiceError {
glog.Errorf("[validateCentralResourcesUnspecified] req = %v\n", dinosaurRequest)

if dinosaurRequest.Central.Resources.Limits.Cpu != "" ||
dinosaurRequest.Central.Resources.Limits.Memory != "" ||
dinosaurRequest.Central.Resources.Requests.Cpu != "" ||
Expand All @@ -51,8 +48,6 @@ func validateCentralResourcesUnspecified(ctx context.Context, dinosaurRequest *p

func validateScannerResourcesUnspecified(ctx context.Context, dinosaurRequest *public.CentralRequestPayload) handlers.Validate {
return func() *errors.ServiceError {
glog.Errorf("[validateScannerResourcesUnspecified] req = %v\n", dinosaurRequest)

if dinosaurRequest.Scanner.Analyzer.Resources.Limits.Cpu != "" ||
dinosaurRequest.Scanner.Analyzer.Resources.Limits.Memory != "" ||
dinosaurRequest.Scanner.Analyzer.Resources.Requests.Cpu != "" ||
Expand Down

0 comments on commit b8f1c06

Please sign in to comment.