Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
raulb committed Dec 19, 2024
1 parent 939591d commit 41ebde6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/conduit/root/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
}
Expand Down
14 changes: 14 additions & 0 deletions cmd/conduit/root/config_test.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit 41ebde6

Please sign in to comment.