From 41ebde6d97eb6948baed621248ad34f2a3703874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Barroso?= Date: Thu, 19 Dec 2024 11:52:49 +0100 Subject: [PATCH] fix lint --- cmd/conduit/root/config.go | 3 +-- cmd/conduit/root/config_test.go | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/cmd/conduit/root/config.go b/cmd/conduit/root/config.go index 4890d01cc..c447e39b4 100644 --- a/cmd/conduit/root/config.go +++ b/cmd/conduit/root/config.go @@ -38,13 +38,12 @@ func (c *ConfigCommand) Config() ecdysis.Config { } func (c *ConfigCommand) Flags() []ecdysis.Flag { - return c.rootCmd.Flags() } func (c *ConfigCommand) Docs() ecdysis.Docs { return ecdysis.Docs{ - Short: "Shows the Conduit configuration to be used when running Conduit.", + Short: "Shows the configuration to be used when running Conduit.", Long: `Conduit will run based on the default configuration jointly with a provided configuration file (optional), the set environment variables, and the flags used. This command will show the configuration that will be used.`, } diff --git a/cmd/conduit/root/config_test.go b/cmd/conduit/root/config_test.go index 07172d983..54ca03928 100644 --- a/cmd/conduit/root/config_test.go +++ b/cmd/conduit/root/config_test.go @@ -1,3 +1,17 @@ +// Copyright © 2024 Meroxa, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package root import (