Skip to content

Commit

Permalink
fix nil
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Wiesner committed May 13, 2023
1 parent bde6d57 commit ac86bfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/handler/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func New(indexHTML string, sealer seal.Sealer, cfg *config.Config) *Handler {
return &Handler{
sealer: sealer,
indexHTML: indexHTML,
cfg: cfg,
filter: cfg.FieldFilter,
}
}
Expand Down
3 changes: 2 additions & 1 deletion pkg/handler/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package handler
import (
"bytes"
"errors"
"github.com/bakito/sealed-secrets-web/pkg/config"
"net/http"
"net/http/httptest"

"github.com/bakito/sealed-secrets-web/pkg/config"

"github.com/bakito/sealed-secrets-web/pkg/mocks/seal"
"github.com/gin-gonic/gin"
"github.com/golang/mock/gomock"
Expand Down

0 comments on commit ac86bfa

Please sign in to comment.