Skip to content

Commit

Permalink
changelifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn committed Nov 29, 2023
1 parent 9f1f593 commit 74c586c
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/chlifecycle.md
Original file line number Diff line number Diff line change
@@ -64,10 +64,10 @@ FileHash: lozgLP_MAdAKZkPCXGvfd0LIDSUI
Fsize: 5444314 -> 5.19MB
PutTime: 16768889367943931 -> 2023-02-20 18:28:56.7943931 +0800 CST
MimeType: text/plain
Expiration: 1710518400 -> 2024-03-16 00:00:00 +0800 CST
TransitionToIA: 1681574400 -> 2023-04-16 00:00:00 +0800 CST
TransitionToArchiveIR: 1684166400 -> 2023-05-16 00:00:00 +0800 CST
TransitionToArchive: 1684166400 -> 2023-06-16 00:00:00 +0800 CST
TransitionToDeepArchive: 1694534400 -> 2023-09-13 00:00:00 +0800 CST
Expiration: 1732809600 -> 2024-11-29 00:00:00 +0800 CST
TransitionToIA: 1703865600 -> 2023-12-30 00:00:00 +0800 CST
TransitionToArchiveIR: 1706457600 -> 2024-01-29 00:00:00 +0800 CST
TransitionToArchive: 1711641600 -> 2024-03-29 00:00:00 +0800 CST
TransitionToDeepArchive: 1716825600 -> 2024-05-28 00:00:00 +0800 CST
FileType: 0 -> 标准存储
```
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ require (
github.com/astaxie/beego v1.12.3
github.com/aws/aws-sdk-go v1.37.31
github.com/mitchellh/go-homedir v1.1.0
github.com/qiniu/go-sdk/v7 v7.15.0
github.com/qiniu/go-sdk/v7 v7.18.1
github.com/schollz/progressbar/v3 v3.8.6
github.com/spf13/cast v1.3.1
github.com/spf13/cobra v1.1.3
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -263,8 +263,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/qiniu/dyn v1.3.0/go.mod h1:E8oERcm8TtwJiZvkQPbcAh0RL8jO1G0VXJMW3FAWdkk=
github.com/qiniu/go-sdk/v7 v7.15.0 h1:vkxZZHM2Ed0qHeIx7NF3unXav+guaVIXlEsCCkpQAww=
github.com/qiniu/go-sdk/v7 v7.15.0/go.mod h1:nqoYCNo53ZlGA521RvRethvxUDvXKt4gtYXOwye868w=
github.com/qiniu/go-sdk/v7 v7.18.1 h1:DHWqWwVy1m4zMNDS4OzEo2tKPCyJCt0RbsqEFk9dzZ4=
github.com/qiniu/go-sdk/v7 v7.18.1/go.mod h1:nqoYCNo53ZlGA521RvRethvxUDvXKt4gtYXOwye868w=
github.com/qiniu/x v1.10.5/go.mod h1:03Ni9tj+N2h2aKnAz+6N0Xfl8FwMEDRC2PAlxekASDs=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
4 changes: 2 additions & 2 deletions iqshell/storage/object/operations/type_change.go
Original file line number Diff line number Diff line change
@@ -45,8 +45,8 @@ func (info *ChangeTypeInfo) getTypeOfInt() (int, *data.CodeError) {
return -1, data.NewEmptyError().AppendDesc("Parse type error:" + err.Error())
}

if ret < 0 || ret > 3 {
return -1, data.NewEmptyError().AppendDesc("type must be one of 0, 1, 2, 3")
if ret < 0 || ret > 4 {
return -1, data.NewEmptyError().AppendDesc("type must be one of 0, 1, 2, 3, 4")
}
return ret, nil
}

0 comments on commit 74c586c

Please sign in to comment.