Skip to content

Commit a122e46

Browse files
kriscolemanCopilot
andauthored
Update internal/cmd/push.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: Kris Coleman <[email protected]>
1 parent 0fb448e commit a122e46

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

internal/cmd/push.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,7 @@ For local file operations, use standard shell commands like cp or mv.`,
6060
return fmt.Errorf("error loading manifest from %s: %w", manifestPath, err)
6161
}
6262

63-
// Validate all flags have required fields
64-
for _, flag := range flags.Flags {
65-
if flag.DefaultValue == nil {
66-
return fmt.Errorf("flag '%s' is missing a default value. All flags must have default values before pushing", flag.Key)
67-
}
68-
}
63+
// Validation of required fields is handled by manifest.LoadFlagSet
6964

7065
// If dry run, show what would be pushed
7166
if dryRun {

0 commit comments

Comments
 (0)