Skip to content

Commit

Permalink
feat: deprecate remote configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke committed Jan 20, 2025
1 parent 75e931a commit fe8bbfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func NewResolver(ctx context.Context, file string, logger *slog.Logger, insecure

var err error
if strings.HasPrefix(file, "http://") || strings.HasPrefix(file, "https://") {

Check failure on line 48 in internal/config/config.go

View workflow job for this annotation

GitHub Actions / lint

if statements should only be cuddled with assignments used in the if statement itself (wsl)

logger.WarnContext(ctx, "Loading configuration file from URL is deprecated and will be removed in 0.31.0. Use a local file instead.")

fileBytes, err = readFromURL(ctx, file, logger, insecureSkipVerify)
Expand Down

0 comments on commit fe8bbfb

Please sign in to comment.