@@ -130,7 +130,7 @@ func extractBootFiles(rootfsPath string, newRootfsPath string, unikernel string,
130130 targetUnikernelDir , _ := filepath .Split (targetUnikernelPath )
131131 err := moveFile (currentUnikernelPath , targetUnikernelDir )
132132 if err != nil {
133- return fmt .Errorf ("Could not move %s to %s: %w" , currentUnikernelPath , targetUnikernelPath , err )
133+ return fmt .Errorf ("could not move %s to %s: %w" , currentUnikernelPath , targetUnikernelPath , err )
134134 }
135135
136136 if initrd != "" {
@@ -139,14 +139,14 @@ func extractBootFiles(rootfsPath string, newRootfsPath string, unikernel string,
139139 targetInitrdDir , _ := filepath .Split (targetInitrdPath )
140140 err = moveFile (currentInitrdPath , targetInitrdDir )
141141 if err != nil {
142- return fmt .Errorf ("Could not move %s to %s: %w" , currentInitrdPath , targetInitrdPath , err )
142+ return fmt .Errorf ("could not move %s to %s: %w" , currentInitrdPath , targetInitrdPath , err )
143143 }
144144 }
145145
146146 currentConfigPath := filepath .Join (rootfsPath , uruncJSON )
147147 err = moveFile (currentConfigPath , newRootfsPath )
148148 if err != nil {
149- return fmt .Errorf ("Could not move %s to %s: %w" , currentConfigPath , newRootfsPath , err )
149+ return fmt .Errorf ("could not move %s to %s: %w" , currentConfigPath , newRootfsPath , err )
150150 }
151151
152152 return nil
0 commit comments