diff options
| author | Shelley-BaoYue <baoyue2@huawei.com> | 2024-01-04 19:26:01 +0800 |
|---|---|---|
| committer | Shelley-BaoYue <baoyue2@huawei.com> | 2024-01-04 19:27:53 +0800 |
| commit | e404453f729bd3cd067eec9f19906cd857a928bb (patch) | |
| tree | 3fd4b525e9b95003423f05587af574a49775205e /pkg | |
| parent | support imageprepull feature (diff) | |
| download | kubeedge-e404453f729bd3cd067eec9f19906cd857a928bb.tar.gz | |
fix imageprepull api
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/apis/operations/v1alpha1/imageprepull_types.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/apis/operations/v1alpha1/imageprepull_types.go b/pkg/apis/operations/v1alpha1/imageprepull_types.go index 54f2fc0ae..0ac53a975 100644 --- a/pkg/apis/operations/v1alpha1/imageprepull_types.go +++ b/pkg/apis/operations/v1alpha1/imageprepull_types.go @@ -91,14 +91,14 @@ type ImagePrePullTemplate struct { // TimeoutSecondsOnEachNode limits the duration of the image prepull job on each edgenode. // Default to 360. - // If set to 0, we'll use the default value 300. + // If set to 0, we'll use the default value 360. // +optional TimeoutSecondsOnEachNode *uint32 `json:"timeoutSecondsOnEachNode,omitempty"` - // RetryTimesOnEachNode specifies the retry times if image pull failed on each edgenode. + // RetryTimes specifies the retry times if image pull failed on each edgenode. // Default to 0 // +optional - RetryTimesOnEachNode int32 `json:"retryTimesOnEachNode,omitempty"` + RetryTimes int32 `json:"retryTimes,omitempty"` } // PrePullState describe the PrePullState of image prepull operation on edge nodes. @@ -135,7 +135,7 @@ type ImagePrePullStatus struct { // There are five possible state values: "", prepulling, successful, failed. State PrePullState `json:"state,omitempty"` - // Message represents the fail reason if images prepull failed on the edge node + // Reason represents the fail reason if images prepull failed on the edge node Reason string `json:"reason,omitempty"` // ImageStatus represents the prepull status for each image |
