Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #4054 - Bug: cannot publish an nmp manifest with * for the file… #4055

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cli/node_management/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ func checkManifestFile(org, credToUse string, manifestData AgentUpgradeManifestD
}
mmsSoftwareFiles := getAgentFiles(org, credToUse, "agent_software_files", manSoftwareFilesVersion)
for _, manFile := range manSoftwareFiles {
if manFile == "*" {
continue
}
found := false
for _, mmsFile := range mmsSoftwareFiles {
if mmsFile.AgentFileName == manFile {
Expand Down Expand Up @@ -296,6 +299,9 @@ func checkManifestFile(org, credToUse string, manifestData AgentUpgradeManifestD
}
mmsCertFiles := getAgentFiles(org, credToUse, "agent_cert_files", manCertFilesVersion)
for _, manFile := range manCertFiles {
if manFile == "*" {
continue
}
found := false
for _, mmsFile := range mmsCertFiles {
if mmsFile.AgentFileName == manFile {
Expand Down Expand Up @@ -324,6 +330,9 @@ func checkManifestFile(org, credToUse string, manifestData AgentUpgradeManifestD
}
mmsConfigFiles := getAgentFiles(org, credToUse, "agent_config_files", manConfigFilesVersion)
for _, manFile := range manConfigFiles {
if manFile == "*" {
continue
}
found := false
for _, mmsFile := range mmsConfigFiles {
if mmsFile.AgentFileName == manFile {
Expand Down
Loading