@@ -9,13 +9,13 @@ import (
99 "github.com/sirupsen/logrus"
1010
1111 "github.com/go-vela/cli/internal/output"
12- "github.com/go-vela/types/library "
12+ api "github.com/go-vela/server/api/types "
1313)
1414
1515// table is a helper function to output the
1616// provided deployments in a table format with
1717// a specific set of fields displayed.
18- func table (deployments * []library .Deployment ) error {
18+ func table (deployments * []api .Deployment ) error {
1919 logrus .Debug ("creating table for list of deployments" )
2020
2121 // create a new table
@@ -59,7 +59,7 @@ func table(deployments *[]library.Deployment) error {
5959// wideTable is a helper function to output the
6060// provided deployments in a wide table format with
6161// a specific set of fields displayed.
62- func wideTable (deployments * []library .Deployment ) error {
62+ func wideTable (deployments * []api .Deployment ) error {
6363 logrus .Debug ("creating wide table for list of deployments" )
6464
6565 // create new wide table
@@ -103,7 +103,7 @@ func wideTable(deployments *[]library.Deployment) error {
103103// reverse is a helper function to sort the deployments
104104// based off the deployment number and then flip the
105105// order they get displayed in.
106- func reverse (d []library .Deployment ) []library .Deployment {
106+ func reverse (d []api .Deployment ) []api .Deployment {
107107 // sort the list of deployments based off the deployment id
108108 sort .SliceStable (d , func (i , j int ) bool {
109109 return d [i ].GetID () < d [j ].GetID ()
0 commit comments