We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3e4ad commit 5ee0284Copy full SHA for 5ee0284
internal/applicationsnapshot/input.go
@@ -195,7 +195,8 @@ func readSnapshotSource(input []byte) (app.SnapshotSpec, error) {
195
return *wrapper.Spec, nil
196
}
197
198
- // Fallback: unmarshal directly into SnapshotSpec for backward compatibility
+ // If we didn't find a snapshot under the .spec top level key then
199
+ // assume we're looking at the bare snapshot data
200
var spec app.SnapshotSpec
201
if err := yaml.Unmarshal(input, &spec); err != nil {
202
log.Debugf("Problem parsing application snapshot from file %s", input)
0 commit comments