You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/11/09 04:09:06 UTC

[GitHub] [servicecomb-service-center] little-cui commented on a diff in pull request #1359: [fix] inconsistency of config items while synchronizing data between …

little-cui commented on code in PR #1359:
URL: https://github.com/apache/servicecomb-service-center/pull/1359#discussion_r1017407347


##########
syncer/service/replicator/resource/resource.go:
##########
@@ -312,7 +312,11 @@ func formatUpdateTimeSecond(src string) (int64, error) {
 		return 0, err
 	}
 
-	return updateTime * 1000 * 1000 * 1000, nil
+	return SecToNanoSec(updateTime), nil
+}
+
+func SecToNanoSec(timestamp int64) int64 {

Review Comment:
   方法私有即可



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org