Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Yue Shang <[email protected]>
  • Loading branch information
ysysys3074 committed Dec 9, 2023
1 parent 45bcd64 commit d0fb2b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datacatalog/pkg/manager/impl/artifact_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ func (m *artifactManager) UpdateArtifact(ctx context.Context, request *datacatal

// update artifact in DB, also replaces/upserts associated artifact data
artifactModel.ArtifactData = artifactDataModels
logger.Infof(ctx, "ArtifactModel is %+v", artifactModel)
logger.Infof(ctx, "ArtifactModel ArtifactData is %+v", artifactModel.ArtifactData)
logger.Infof(ctx, "ArtifactModel SerializedMetadata is %+v", artifactModel.SerializedMetadata)
logger.Debugf(ctx, "ArtifactModel is %+v", artifactModel)
logger.Debugf(ctx, "ArtifactModel ArtifactData is %+v", artifactModel.ArtifactData)
logger.Debugf(ctx, "ArtifactModel SerializedMetadata is %+v", artifactModel.SerializedMetadata)

err = m.repo.ArtifactRepo().Update(ctx, artifactModel)
if err != nil {
Expand Down

0 comments on commit d0fb2b5

Please sign in to comment.