mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
continue as it's a loop
This commit is contained in:
parent
edeb0239df
commit
162e7cea34
@ -660,7 +660,8 @@ func ProcessRPM(pd *data.ProcessData) (*srpmprocpb.ProcessResponse, error) {
|
|||||||
status, _ := w.Status()
|
status, _ := w.Status()
|
||||||
if !pd.ModuleMode {
|
if !pd.ModuleMode {
|
||||||
if status.IsClean() {
|
if status.IsClean() {
|
||||||
return nil, fmt.Errorf("No changes detected. Our downstream is up to date.")
|
pd.Log.Printf("No changes detected. Our downstream is up to date.")
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pd.Log.Printf("successfully processed:\n%s", status)
|
pd.Log.Printf("successfully processed:\n%s", status)
|
||||||
@ -1002,7 +1003,8 @@ func processRPMTagless(pd *data.ProcessData) (*srpmprocpb.ProcessResponse, error
|
|||||||
status, err := w.Status()
|
status, err := w.Status()
|
||||||
if !pd.ModuleMode {
|
if !pd.ModuleMode {
|
||||||
if status.IsClean() {
|
if status.IsClean() {
|
||||||
return nil, fmt.Errorf("No changes detected. Our downstream is up to date.")
|
pd.Log.Printf("No changes detected. Our downstream is up to date.")
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pd.Log.Printf("successfully processed:\n%s", status)
|
pd.Log.Printf("successfully processed:\n%s", status)
|
||||||
|
Loading…
Reference in New Issue
Block a user