Skip to content

Commit

Permalink
chore: remove default policy
Browse files Browse the repository at this point in the history
  • Loading branch information
idilhaq committed Nov 19, 2024
1 parent 6f81e89 commit 8aea5d4
Show file tree
Hide file tree
Showing 5 changed files with 977 additions and 983 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ COMMIT := $(shell git rev-parse --short HEAD)
TAG := "$(shell git rev-list --tags --max-count=1)"
VERSION := "$(shell git describe --tags ${TAG})-next"
BUILD_DIR=dist
PROTON_COMMIT := "264f6cc8217b23fe43c17116f6b7c43d4286f796"
PROTON_COMMIT := "629e2f8d4b3b0634238e8b99663ccf8fa409bb39"

.PHONY: all build clean test tidy vet proto setup format generate

Expand Down
9 changes: 4 additions & 5 deletions api/handler/v1beta1/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ func (a *adapter) FromProviderProto(p *guardianv1beta1.Provider) (*domain.Provid

func (a *adapter) FromProviderConfigProto(pc *guardianv1beta1.ProviderConfig) *domain.ProviderConfig {
providerConfig := &domain.ProviderConfig{
Type: pc.GetType(),
URN: pc.GetUrn(),
Labels: pc.GetLabels(),
Credentials: pc.GetCredentials().AsInterface(),
DefaultPolicy: pc.GetDefaultPolicy(),
Type: pc.GetType(),
URN: pc.GetUrn(),
Labels: pc.GetLabels(),
Credentials: pc.GetCredentials().AsInterface(),
}

if pc.GetAppeal() != nil {
Expand Down
Loading

0 comments on commit 8aea5d4

Please sign in to comment.