Skip to content

Commit

Permalink
chore(local): rename api base to core
Browse files Browse the repository at this point in the history
  • Loading branch information
pinglin committed Oct 24, 2023
1 parent 1031c06 commit 3c59531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/instill-ai/cli/pkg/cmdutil"
)

var projs = [3]string{"base", "vdp", "model"}
var projs = [3]string{"core", "vdp", "model"}

// ExecDep is an interface for executing commands
type ExecDep interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/local/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ func isProjectHealthy(execDep ExecDep, proj string) error {
var urls []string

switch proj {
case "base":
case "core":
urls = []string{
"localhost:8080/base/v1alpha/health/mgmt",
"localhost:8080/core/v1alpha/health/mgmt",
}
case "vdp":
urls = []string{
Expand Down

0 comments on commit 3c59531

Please sign in to comment.