Skip to content

Commit a2b6069

Browse files
authored
chore: update the status value strings of nim cache and nim services (#47)
Signed-off-by: shil <[email protected]> Co-authored-by: shil <[email protected]>
1 parent f678cd6 commit a2b6069

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

api/apps/v1alpha1/nimcache_types.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,19 @@ const (
171171
NimCacheConditionPVCCreated = "NIM_CACHE_PVC_CREATED"
172172

173173
// NimCacheStatusNotReady indicates that cache is not ready
174-
NimCacheStatusNotReady = "not-ready"
174+
NimCacheStatusNotReady = "NotReady"
175175
// NimCacheStatusPVCCreated indicates that the pvc is created for caching
176-
NimCacheStatusPVCCreated = "pvc-created"
176+
NimCacheStatusPVCCreated = "PVC-Created"
177177
// NimCacheStatusStarted indicates that caching process is started
178-
NimCacheStatusStarted = "started"
178+
NimCacheStatusStarted = "Started"
179179
// NimCacheStatusReady indicates that cache is ready
180-
NimCacheStatusReady = "ready"
180+
NimCacheStatusReady = "Ready"
181181
// NimCacheStatusInProgress indicates that caching is in progress
182-
NimCacheStatusInProgress = "in-progress"
182+
NimCacheStatusInProgress = "InProgress"
183183
// NimCacheStatusPending indicates that caching is not yet started
184-
NimCacheStatusPending = "pending"
184+
NimCacheStatusPending = "Pending"
185185
// NimCacheStatusFailed indicates that caching is failed
186-
NimCacheStatusFailed = "failed"
186+
NimCacheStatusFailed = "Failed"
187187
)
188188

189189
// EnvFromSecrets return the list of secrets that should be mounted as env vars

api/apps/v1alpha1/nimservice_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ const (
3939
NIMServiceConditionFailed = "NIM_SERVICE_FAILED"
4040

4141
// NIMServiceStatusPending indicates that NIM deployment is in pending state
42-
NIMServiceStatusPending = "pending"
42+
NIMServiceStatusPending = "Pending"
4343
// NIMServiceStatusNotReady indicates that NIM deployment is not ready
44-
NIMServiceStatusNotReady = "not-ready"
44+
NIMServiceStatusNotReady = "NotReady"
4545
// NIMServiceStatusReady indicates that NIM deployment is ready
46-
NIMServiceStatusReady = "ready"
46+
NIMServiceStatusReady = "Ready"
4747
// NIMServiceStatusFailed indicates that NIM deployment has failed
48-
NIMServiceStatusFailed = "failed"
48+
NIMServiceStatusFailed = "Failed"
4949
)
5050

5151
// NIMServiceSpec defines the desired state of NIMService

0 commit comments

Comments
 (0)