mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
use project abstraction
This commit is contained in:
@@ -13,11 +13,9 @@ type ProjectInfo struct {
|
||||
Active bool
|
||||
}
|
||||
|
||||
func GetCurrent(client *occlient.Client) (string, error) {
|
||||
// TODO: use project abstaction
|
||||
func GetCurrent(client *occlient.Client) string {
|
||||
project := client.GetCurrentProjectName()
|
||||
|
||||
return project, nil
|
||||
return project
|
||||
}
|
||||
|
||||
func SetCurrent(client *occlient.Client, project string) error {
|
||||
|
||||
Reference in New Issue
Block a user