Skip to content

Commit

Permalink
refactor(ipsec): move ipsec cmd files in ipsec dir
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com>
  • Loading branch information
artek-koltun committed Jan 29, 2024
1 parent 89f9207 commit 57f83e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/ipsec-stats.go → cmd/ipsec/ipsec-stats.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2022-2023 Dell Inc, or its subsidiaries.

// Package cmd implements the CLI commands
package cmd
// Package ipsec implements the ipsec related CLI commands
package ipsec

import (
"fmt"
Expand Down
4 changes: 2 additions & 2 deletions cmd/ipsec-test.go → cmd/ipsec/ipsec-test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2022-2023 Dell Inc, or its subsidiaries.

// Package cmd implements the CLI commands
package cmd
// Package ipsec implements the ipsec related CLI commands
package ipsec

import (
"fmt"
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"os"

"github.com/opiproject/godpu/cmd"
"github.com/opiproject/godpu/cmd/ipsec"
"github.com/opiproject/godpu/cmd/network"
"github.com/opiproject/godpu/cmd/storage"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -38,7 +39,7 @@ func newCommand() *cobra.Command {
},
}
c.AddCommand(cmd.NewInventoryCommand())
c.AddCommand(cmd.NewIPSecCommand())
c.AddCommand(ipsec.NewIPSecCommand())
c.AddCommand(storage.NewStorageCommand())
c.AddCommand(network.NewEvpnCommand())
return c
Expand Down

0 comments on commit 57f83e8

Please sign in to comment.