Skip to content

Commit a8f5979

Browse files
committed
add temp solution for sdk issue
1 parent fefc130 commit a8f5979

File tree

1 file changed

+3
-1
lines changed
  • cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/core/sdktime

1 file changed

+3
-1
lines changed

cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/core/sdktime/sdk_time.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@ func (t SdkTime) MarshalJSON() ([]byte, error) {
3030
}
3131

3232
func (t SdkTime) String() string {
33-
return time.Time(t).Format(`2006-01-02T15:04:05Z`)
33+
// return time.Time(t).Format(`2006-01-02T15:04:05Z`)
34+
// temp solution for: https://github.com/huaweicloud/huaweicloud-sdk-go-v3/issues/8
35+
return time.Time(t).Format(`2006-01-02T15:04Z`)
3436
}

0 commit comments

Comments
 (0)