Skip to content

Commit

Permalink
Refactor wait plugin: rename package and file (#5462)
Browse files Browse the repository at this point in the history
* rename package: execute->deployment

Signed-off-by: t-kikuc <[email protected]>

* rename file: server.go->plugin.go

Signed-off-by: t-kikuc <[email protected]>

---------

Signed-off-by: t-kikuc <[email protected]>
  • Loading branch information
t-kikuc authored Dec 27, 2024
1 parent 77664e1 commit 47a13c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package execute
package deployment

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package execute
package deployment

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"golang.org/x/sync/errgroup"

"github.com/pipe-cd/pipecd/pkg/admin"
"github.com/pipe-cd/pipecd/pkg/app/pipedv1/plugin/wait/execute"
"github.com/pipe-cd/pipecd/pkg/app/pipedv1/plugin/wait/deployment"
"github.com/pipe-cd/pipecd/pkg/cli"
config "github.com/pipe-cd/pipecd/pkg/configv1"
"github.com/pipe-cd/pipecd/pkg/plugin/logpersister"
Expand Down Expand Up @@ -124,7 +124,7 @@ func (s *plugin) run(ctx context.Context, input cli.Input) (runErr error) {
// Start a gRPC server for handling external API requests.
{
var (
service = execute.NewDeploymentService(
service = deployment.NewDeploymentService(
cfg,
input.Logger,
persister,
Expand Down

0 comments on commit 47a13c3

Please sign in to comment.