Skip to content

Commit

Permalink
Debug commit
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo M. Oliveira <rmartine@redhat.com>
  • Loading branch information
rimolive committed Oct 14, 2024
1 parent 7ccd7de commit 66275b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/src/apiserver/resource/resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ func (r *ResourceManager) GetArtifactSessionInfo(ctx context.Context, artifact *
"endpoint": bucketSession.Endpoint,
"region": bucketSession.Region,
"disableSSL": strconv.FormatBool(bucketSession.DisableSSL),
"decretName": bucketSession.SecretName,
"secretName": bucketSession.SecretName,
"accessKeyKey": bucketSession.AccessKeyKey,
"secretKeyKey": bucketSession.SecretKeyKey,
}
Expand All @@ -2001,6 +2001,8 @@ func (r *ResourceManager) GetArtifactSessionInfo(ctx context.Context, artifact *
sessionInfoString = string(sessionInfoBytes)
}

glog.Infof("Session info string: %v", sessionInfoString)

if sessionInfoString == "" {
return nil, "", fmt.Errorf("Unable to retrieve artifact session info via context property.")
}
Expand Down

0 comments on commit 66275b6

Please sign in to comment.