Skip to content

Commit

Permalink
fix: improved the documentation description (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfcode111 committed Jun 6, 2024
1 parent 389d3ee commit 1728745
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion pkg/domain/constant/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ var (
)

const (
// SourceProviderTypeGit represents git source provider type.
SourceProviderTypeGit SourceProviderType = "git"

// SourceProviderTypeGithub represents github source provider type.
SourceProviderTypeGit SourceProviderType = "git"
SourceProviderTypeGithub SourceProviderType = "github"

// SourceProviderTypeOCI represents oci source provider type.
Expand Down
6 changes: 3 additions & 3 deletions pkg/domain/constant/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ type StackState string

// These constants represent the possible states of a stack.
const (
// The stack has not been synced with the remote runtime.
// StackStateUnSynced represents state of stack has not been synced with the remote runtime.
StackStateUnSynced StackState = "UnSynced"
// The stack is synced with the remote runtime.
// StackStateSynced represents state of stack is synced with the remote runtime.
StackStateSynced StackState = "Synced"
// The stack has out of sync from the remote runtime.
// StackStateOutOfSync represents state of stack has out of sync from the remote runtime.
StackStateOutOfSync StackState = "OutOfSync"
)

Expand Down

0 comments on commit 1728745

Please sign in to comment.