#FS ID mismatch, not explicit error

1 messages · Page 1 of 1 (latest)

lone bluff
#

I think I know, let me try that

#

I bet it's the filesystem ID you're referencing.
I'm gonna check

#

Yep, found it

hexed quartz
#

I see. Indeed did'nt found what to put there. There like infinite reference to a filesytem (ID too) in the response

lone bluff
#
diff --git a/ci.go b/ci.go
index f697b7c..737eb4e 100644
--- a/ci.go
+++ b/ci.go
@@ -17,7 +17,7 @@ func main() {
                        return err
                }
 
-               _, err = core.PushImage(ctx, result.GetCore().Filesystem.ID, "kind-registry:5000/hello-app:latest")
+               _, err = core.PushImage(ctx, result.Core.Filesystem.Dockerbuild.ID, "kind-registry:5000/hello-app:latest")
                if err != nil {
                        return err
                }
#

I know, I got bitten too. We need to improve this DX.
Because we get so many FS ID we don't know which one to use, especially when only 1 is correct.

#

Luckily, with LSP, you can explore that. But it still isn't great

hexed quartz
#

just try this and it works thanks !