Skip to content

Commit 02a8f79

Browse files
author
irhndt 4fk
committed
using api.ProjectDfeaultName instead of raw "default" string
1 parent 9085e6e commit 02a8f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/incus/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ func (c *cmdProjectGetCurrent) Run(cmd *cobra.Command, args []string) error {
11851185
return fmt.Errorf(i18n.G("Remote %s doesn't exist"), conf.DefaultRemote)
11861186
}
11871187
if remote.Project == "" {
1188-
fmt.Println("default")
1188+
fmt.Println(api.ProjectDefaultName)
11891189
} else {
11901190
fmt.Println(remote.Project)
11911191
}

0 commit comments

Comments
 (0)