Update running method
This commit is contained in:
parent
1aec892326
commit
4504e49e96
1 changed files with 1 additions and 1 deletions
|
|
@ -261,5 +261,5 @@ func (c codespace) hasUnsavedChanges() bool {
|
|||
|
||||
// running returns whether the codespace environment is running.
|
||||
func (c codespace) running() bool {
|
||||
return c.Environment.State == api.CodespaceEnvironmentStateAvailable
|
||||
return c.State == api.CodespaceStateAvailable
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue