Skip to content
Snippets Groups Projects
Commit f1f05cdf authored by Matthew Wong's avatar Matthew Wong
Browse files

Print all non-efs mount entries for easier debugging

parent 2822a07c
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,11 @@ func getMount(dnsName string) (string, string, error) { ...@@ -109,7 +109,11 @@ func getMount(dnsName string) (string, string, error) {
} }
} }
return "", "", fmt.Errorf("no mount entry found for %s", dnsName) entriesStr := ""
for _, e := range entries {
entriesStr += e.Source + ":" + e.Mountpoint + ", "
}
return "", "", fmt.Errorf("no mount entry found for %s among entries %s", dnsName, entriesStr)
} }
var _ controller.Provisioner = &efsProvisioner{} var _ controller.Provisioner = &efsProvisioner{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment