diff --git a/v2/object/types.go b/v2/object/types.go index 3ed9f39..c6a0d43 100644 --- a/v2/object/types.go +++ b/v2/object/types.go @@ -326,7 +326,7 @@ func (h *ShortHeader) GetVersion() *service.Version { func (h *ShortHeader) SetVersion(v *service.Version) { if h != nil { - h.SetVersion(v) + h.version = v } }